org.gnu.gnomevte.event
Class CommitEvent

java.lang.Object
  extended by org.gnu.gtk.event.GtkEvent
      extended by org.gnu.gnomevte.event.CommitEvent
All Implemented Interfaces:
java.io.Serializable

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

public class CommitEvent
extends org.gnu.gtk.event.GtkEvent

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.

See Also:
Serialized Form

Nested Class Summary
static class CommitEvent.Type
          Deprecated. Type of a TerminalCommitEvent.
 
Field Summary
 
Fields inherited from class org.gnu.gtk.event.GtkEvent
source, type
 
Constructor Summary
CommitEvent(java.lang.Object source, org.gnu.glib.EventType type, java.lang.String committedText)
          Deprecated. Constructor for TerminalCommitEvent.
 
Method Summary
 java.lang.String getCommittedText()
          Deprecated. Get's the text that is being committed to the Terminal.
 boolean isOfType(CommitEvent.Type aType)
          Deprecated. This method compares the type of the current event to the one provided as an argument.
 
Methods inherited from class org.gnu.gtk.event.GtkEvent
getSource, getType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommitEvent

public CommitEvent(java.lang.Object source,
                   org.gnu.glib.EventType type,
                   java.lang.String committedText)
Deprecated. 
Constructor for TerminalCommitEvent.

Parameters:
source - the source of the event.
type - the event type.
committedText - the text that is committed (sent) to the Terminal.
Method Detail

isOfType

public boolean isOfType(CommitEvent.Type aType)
Deprecated. 
This method compares the type of the current event to the one provided as an argument.

Parameters:
aType - the type to compare to.
Returns:
true if the events are of same type.

getCommittedText

public java.lang.String getCommittedText()
Deprecated. 
Get's the text that is being committed to the Terminal.

Returns:
the committed text.