public class KeyStrokeEventData
extends java.lang.Object
Constructor and Description |
---|
KeyStrokeEventData(java.lang.String field_name,
java.lang.String current_value,
java.lang.String change,
int selection_start,
int selection_end)
The constructor for KeyStrokeEventData.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
public KeyStrokeEventData(java.lang.String field_name, java.lang.String current_value, java.lang.String change, int selection_start, int selection_end) throws PDFNetException
field_name
- the name of the field where the event happenscurrent_value
- the value of the field before event happenschange
- the value of text that the user wants to addselection_start
- the start postion of the selected textselection_end
- the end postion of the selected text
Note: slection_start can be the same as selection_end if no text is selected.
PDFNetException
public void destroy() throws PDFNetException
PDFNetException