org.gnu.gtk.event
public class TextViewEvent extends GtkEvent
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 an connection has been completely re-implemented in java-gnome 4.0, so you will need to refactor any code attempting to use this class.
This event is used to identify events of the TextView widget.See Also: TextView
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.
|
Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.
Creates a new text view eventParameters: source The object that triggered the event. type The identification of the type of event that occurred.
Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.
Returns the count.Returns: int
Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.
Returns the menu.Returns: The menu item that was set when the POPULATE_POPUP event type is triggered.
Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.
Returns the movementStep.Returns: MovementStep
Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.
Comparison of TextViewEvent typesParameters: test The TreeViewEvent type to compare with this object.
Returns: true if the types are the same.
Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.
Sets the count.Parameters: count The count to set
Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.
Sets the menu.Parameters: menu The menu to set
Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.
Sets the movementStep.Parameters: movementStep The movementStep to set