org.gnu.gtk.event

Class CellRendererTextEvent

Implemented Interfaces:
Serializable

public class CellRendererTextEvent
extends GtkEvent

An event represeting action by a CellRendererText widget.

See Also:
CellRendererTextListener, CellRendererText

Nested Class Summary

static class
CellRendererTextEvent.Type

Field Summary

protected String
index
protected String
text

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

source, type

Constructor Summary

CellRendererTextEvent(Object source, String index, String text)
Creates a new event.

Method Summary

String
getIndex()
Returns the TreeIter index of which the text has been changed.
String
getText()
Returns the new user entered text.

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

getSource, getType, toString

Field Details

index

protected String index


text

protected String text

Constructor Details

CellRendererTextEvent

public CellRendererTextEvent(Object source,
                             String index,
                             String text)
Creates a new event. This is used internally by java-gnome. Users only have to deal with listeners.

Method Details

getIndex

public String getIndex()
Returns the TreeIter index of which the text has been changed.

Returns:
the TreeIter index


getText

public String getText()
Returns the new user entered text.

Returns:
the user entered text