|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGtkEvent
org.gnu.gnomevte.event.CommitEvent
public class CommitEvent
An event representing a commit action by a Terminal
widget.
This event is fired every time that data is sent to the terminal.
This normally happens after pasting some text or by interacting with the keyboard.
Nested Class Summary | |
---|---|
static class |
CommitEvent.Type
Type of a TerminalCommitEvent. |
Constructor Summary | |
---|---|
CommitEvent(java.lang.Object source,
EventType type,
java.lang.String committedText)
Constructor for TerminalCommitEvent. |
Method Summary | |
---|---|
java.lang.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommitEvent(java.lang.Object source, EventType type, java.lang.String committedText)
source
- the source of the event.type
- the event type.committedText
- the text that is committed (sent) to the Terminal.Method Detail |
---|
public boolean isOfType(CommitEvent.Type aType)
aType
- the type to compare to.
true
if the events are of same type.public java.lang.String getCommittedText()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |