org.gnu.gnomevte.event
public class TextScrolledEvent extends GtkEvent
| Nested Class Summary | |
|---|---|
| static class | TextScrolledEvent.Type
Type of a TerminalEvent. |
| Constructor Summary | |
|---|---|
| TextScrolledEvent(Object source, EventType type, int scrollDelta)
Constructor for TerminalTextScrolledEvent. | |
| Method Summary | |
|---|---|
| int | getScrollDelta()
Gets the scroll delta. |
| boolean | isOfType(TextScrolledEvent.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. scrollDelta the scroll delta.
Returns: the scroll delta.
Parameters: aType the type to compare to.
Returns: true if the events are of same type.