org.gnu.gtk.event
Class EntryEvent
java.lang.Object
org.gnu.gtk.event.GtkEvent
org.gnu.gtk.event.EntryEvent
- All Implemented Interfaces:
- java.io.Serializable
public class EntryEvent
- extends GtkEvent
This event is used to identify when an entry receives an event
- See Also:
EntryListener
,
Serialized Form
Constructor Summary |
EntryEvent(java.lang.Object source,
EventType type)
Constructor for EditableEvent. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EntryEvent
public EntryEvent(java.lang.Object source,
EventType type)
- Constructor for EditableEvent.
- Parameters:
source
- type
-
isOfType
public boolean isOfType(EntryEvent.Type aType)
- Returns:
- True if the type of this event is the same as that stated.
setText
public void setText(java.lang.String text)
getText
public java.lang.String getText()
setDeleteType
public void setDeleteType(DeleteType type)
getDeleteType
public DeleteType getDeleteType()
setCount
public void setCount(int count)
getCount
public int getCount()
setMovementStep
public void setMovementStep(MovementStep step)
getMovementStep
public MovementStep getMovementStep()
setExtendedSelection
public void setExtendedSelection(boolean extendedSelection)
getExtendedSelection
public boolean getExtendedSelection()
getEndPosition
public int getEndPosition()
- Returns:
- Returns the endPosition.
setEndPosition
public void setEndPosition(int endPosition)
- Parameters:
endPosition
- The endPosition to set.
getInsertPosition
public int getInsertPosition()
- Returns:
- Returns the insertPosition.
setInsertPosition
public void setInsertPosition(int insertPosition)
- Parameters:
insertPosition
- The insertPosition to set.
getStartPosition
public int getStartPosition()
- Returns:
- Returns the startPosition.
setStartPosition
public void setStartPosition(int startPosition)
- Parameters:
startPosition
- The startPosition to set.