org.gnu.gtk.event

Class EntryEvent

public class EntryEvent extends GtkEvent

Deprecated: This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. Signal handling an connection has been completely re-implemented in java-gnome 4.0, so you will need to refactor any code attempting to use this class.

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

See Also:

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)

Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Constructor for EditableEvent.

Parameters: source type

Method Detail

getCount

public int getCount()

getDeleteType

public DeleteType getDeleteType()

getEndPosition

public int getEndPosition()

Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Returns: Returns the endPosition.

getExtendedSelection

public boolean getExtendedSelection()

getInsertPosition

public int getInsertPosition()

Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Returns: Returns the insertPosition.

getMovementStep

public MovementStep getMovementStep()

getStartPosition

public int getStartPosition()

Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Returns: Returns the startPosition.

getText

public String getText()

isOfType

public boolean isOfType(EntryEvent.Type aType)

Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

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)

Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Parameters: endPosition The endPosition to set.

setExtendedSelection

public void setExtendedSelection(boolean extendedSelection)

setInsertPosition

public void setInsertPosition(int insertPosition)

Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Parameters: insertPosition The insertPosition to set.

setMovementStep

public void setMovementStep(MovementStep step)

setStartPosition

public void setStartPosition(int startPosition)

Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Parameters: startPosition The startPosition to set.

setText

public void setText(String text)