org.gnu.gnomevte.event
public class CommitEvent extends GtkEvent
| 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.