org.gnu.gtk.event

Class EntryEvent

Implemented Interfaces:
Serializable

public class EntryEvent
extends GtkEvent

This event is used to identify when an entry receives an event
See Also:
EntryListener

Nested Class Summary

static class
EntryEvent.Type

Constructor Summary

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.

Method Summary

int
getCount()
DeleteType
getDeleteType()
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.
boolean
getExtendedSelection()
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.
MovementStep
getMovementStep()
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.
String
getText()
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.
void
setCount(int count)
void
setDeleteType(DeleteType type)
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.
void
setExtendedSelection(boolean extendedSelection)
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.
void
setMovementStep(MovementStep step)
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.
void
setText(String text)

Methods inherited from class org.gnu.gtk.event.GtkEvent

getSource, getType, toString

Constructor Details

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 Details

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)