org.gnu.gtk.event
Class EntryEvent
- Serializable
This event is used to identify when an entry receives an event
EntryEvent
public EntryEvent(Object source,
EventType type)
Constructor for EditableEvent.
getCount
public int getCount()
getEndPosition
public int getEndPosition()
getExtendedSelection
public boolean getExtendedSelection()
getInsertPosition
public int getInsertPosition()
- Returns the insertPosition.
getStartPosition
public int getStartPosition()
- Returns the startPosition.
getText
public String getText()
isOfType
public boolean isOfType(EntryEvent.Type aType)
- True if the type of this event is the same as that stated.
setCount
public void setCount(int count)
setDeleteType
public void setDeleteType(DeleteType type)
setEndPosition
public void setEndPosition(int endPosition)
endPosition
- The endPosition to set.
setExtendedSelection
public void setExtendedSelection(boolean extendedSelection)
setInsertPosition
public void setInsertPosition(int insertPosition)
insertPosition
- The insertPosition to set.
setMovementStep
public void setMovementStep(MovementStep step)
setStartPosition
public void setStartPosition(int startPosition)
startPosition
- The startPosition to set.
setText
public void setText(String text)