org.gnu.gtk.event
public class TextViewEvent extends GtkEvent
See Also: TextView TextViewListener
Nested Class Summary | |
---|---|
static class | TextViewEvent.Type
Used to describe the type of event. |
Constructor Summary | |
---|---|
TextViewEvent(Object source, TextViewEvent.Type type)
Creates a new text view event
|
Method Summary | |
---|---|
int | getCount()
Returns the count.
|
Menu | getMenu()
Returns the menu.
|
MovementStep | getMovementStep()
Returns the movementStep.
|
boolean | isOfType(TextViewEvent.Type test)
Comparison of TextViewEvent types
|
void | setCount(int count)
Sets the count.
|
void | setMenu(Menu menu)
Sets the menu.
|
void | setMovementStep(MovementStep movementStep)
Sets the movementStep.
|
Parameters: source The object that triggered the event. type The identification of the type of event that occurred.
Returns: int
Returns: The menu item that was set when the POPULATE_POPUP event type is triggered.
Returns: MovementStep
Parameters: test The TreeViewEvent type to compare with this object.
Returns: true if the types are the same.
Parameters: count The count to set
Parameters: menu The menu to set
Parameters: movementStep The movementStep to set