org.gnu.gtk.event

Class CellRendererTextEvent

public class CellRendererTextEvent 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.

An event representing action by a CellRendererText widget.

See Also: CellRendererTextListener

Nested Class Summary
static classCellRendererTextEvent.Type
Constructor Summary
CellRendererTextEvent(Object source, String index, String text)
Creates a new event.
Method Summary
StringgetIndex()
Returns the TreeIter index of which the text has been changed.
StringgetText()
Returns the new user entered text.
booleanisOfType(CellRendererTextEvent.Type aType)

Constructor Detail

CellRendererTextEvent

public CellRendererTextEvent(Object source, String index, String text)

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.

Creates a new event. This is used internally by java-gnome. Users only have to deal with listeners.

Method Detail

getIndex

public String getIndex()

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 the TreeIter index of which the text has been changed.

Returns: the TreeIter index

getText

public String getText()

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 the new user entered text.

Returns: the user entered text

isOfType

public boolean isOfType(CellRendererTextEvent.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.