org.gnu.gtk.event

Class EntryEvent

public class EntryEvent extends GtkEvent

This event is used to identify when an entry receives an event

See Also: EntryListener

Nested Class Summary
static classEntryEvent.Type
Constructor Summary
EntryEvent(Object source, EventType type)
Constructor for EditableEvent.
Method Summary
intgetCount()
DeleteTypegetDeleteType()
intgetEndPosition()
booleangetExtendedSelection()
intgetInsertPosition()
MovementStepgetMovementStep()
intgetStartPosition()
StringgetText()
booleanisOfType(EntryEvent.Type aType)
voidsetCount(int count)
voidsetDeleteType(DeleteType type)
voidsetEndPosition(int endPosition)
voidsetExtendedSelection(boolean extendedSelection)
voidsetInsertPosition(int insertPosition)
voidsetMovementStep(MovementStep step)
voidsetStartPosition(int startPosition)
voidsetText(String text)

Constructor Detail

EntryEvent

public EntryEvent(Object source, EventType type)
Constructor for EditableEvent.

Parameters: source type

Method Detail

getCount

public int getCount()

getDeleteType

public DeleteType getDeleteType()

getEndPosition

public int getEndPosition()

Returns: Returns the endPosition.

getExtendedSelection

public boolean getExtendedSelection()

getInsertPosition

public int getInsertPosition()

Returns: Returns the insertPosition.

getMovementStep

public MovementStep getMovementStep()

getStartPosition

public int getStartPosition()

Returns: Returns the startPosition.

getText

public String getText()

isOfType

public boolean isOfType(EntryEvent.Type aType)

Returns: 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)

Parameters: endPosition The endPosition to set.

setExtendedSelection

public void setExtendedSelection(boolean extendedSelection)

setInsertPosition

public void setInsertPosition(int insertPosition)

Parameters: insertPosition The insertPosition to set.

setMovementStep

public void setMovementStep(MovementStep step)

setStartPosition

public void setStartPosition(int startPosition)

Parameters: startPosition The startPosition to set.

setText

public void setText(String text)