|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.gnu.gtk.event.GtkEvent | +--org.gnu.gtk.event.EditableEvent
This event is used to identify when an editable receives an event
EditableListener
,
Serialized FormNested Class Summary | |
static class |
EditableEvent.Type
|
Constructor Summary | |
EditableEvent(java.lang.Object source,
GtkEventType type)
Constructor for EditableEvent. |
Method Summary | |
int |
getEndPosition()
Returns the endPosition. |
int |
getInsertPosition()
Returns the insertPosition. |
int |
getStartPosition()
Returns the startPosition. |
java.lang.String |
getText()
Returns the text. |
boolean |
isOfType(EditableEvent.Type aType)
|
void |
setEndPosition(int endPosition)
Sets the endPosition. |
void |
setInsertPosition(int insertPosition)
Sets the insertPosition. |
void |
setStartPosition(int startPosition)
Sets the startPosition. |
void |
setText(java.lang.String text)
Sets the text. |
Methods inherited from class org.gnu.gtk.event.GtkEvent |
getSource, getType, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public EditableEvent(java.lang.Object source, GtkEventType type)
source
- type
- Method Detail |
public boolean isOfType(EditableEvent.Type aType)
public int getEndPosition()
public int getInsertPosition()
public int getStartPosition()
public java.lang.String getText()
public void setEndPosition(int endPosition)
endPosition
- The endPosition to setpublic void setInsertPosition(int insertPosition)
insertPosition
- The insertPosition to setpublic void setStartPosition(int startPosition)
startPosition
- The startPosition to setpublic void setText(java.lang.String text)
text
- The text to set
|
Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |