org.gnu.gnomevte.event

Class TerminalEvent

public class TerminalEvent extends GtkEvent

An event representing an action by a Terminal widget. This event is fired for every generic event that requires no exra information.
Nested Class Summary
static classTerminalEvent.Type
Type of a TerminalEvent.
Constructor Summary
TerminalEvent(Object source, EventType type)
Constructor for TerminalEvent.
Method Summary
booleanisOfType(TerminalEvent.Type aType)
This method compares the type of the current event to the one provided as an argument.

Constructor Detail

TerminalEvent

public TerminalEvent(Object source, EventType type)
Constructor for TerminalEvent.

Parameters: source the source of the event. type the event type.

Method Detail

isOfType

public boolean isOfType(TerminalEvent.Type aType)
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.