Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.gnu.gtk.event.GtkEvent
org.gnu.gtk.event.TextViewEvent
public class TextViewEvent
extends GtkEvent
TextView
, TextViewListener
Nested Class Summary | |
static class |
|
Constructor Summary | |
|
Method Summary | |
int |
|
Menu |
|
MovementStep |
|
boolean |
|
void |
|
void | |
void |
|
public TextViewEvent(Object source, TextViewEvent.Type type)
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 event
- Parameters:
source
- The object that triggered the event.type
- The identification of the type of event that occurred.
public int getCount()
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
public Menu getMenu()
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.
public MovementStep getMovementStep()
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
public boolean isOfType(TextViewEvent.Type test)
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 types
- Parameters:
test
- The TreeViewEvent type to compare with this object.
- Returns:
- true if the types are the same.
public void setCount(int count)
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
public void setMenu(Menu menu)
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
public void setMovementStep(MovementStep 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.
Sets the movementStep.
- Parameters:
movementStep
- The movementStep to set