org.gnu.gnomevte.event
public class CommitEvent 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 has been completely re-designed
in java-gnome 4.0, so there will be no direct correspondant
for this class. See individual inner interfaces in classes
within org.gnome.vte
Nested Class Summary | |
---|---|
static class | CommitEvent.Type
Type of a TerminalCommitEvent. |
Constructor Summary | |
---|---|
CommitEvent(Object source, EventType type, String committedText)
Constructor for TerminalCommitEvent. |
Method Summary | |
---|---|
String | getCommittedText()
Get's the text that is being committed to the Terminal. |
boolean | isOfType(CommitEvent.Type aType)
This method compares the type of the current event to
the one provided as an argument. |
Parameters: source the source of the event. type the event type. committedText the text that is committed (sent) to the Terminal.
Returns: the committed text.
Parameters: aType the type to compare to.
Returns: true
if the events are of same type.