org.gnu.gtk.event
Class TextViewEvent
- Serializable
public class TextViewEvent
This event is used to identify events of the TextView widget.
TextView, TextViewListener
TextViewEvent
public TextViewEvent(Object source,
TextViewEvent.Type type) Creates a new text view event
source - The object that triggered the event.type - The identification of the type of event that occurred.
getCount
public int getCount()
Returns the count.
- int
getMenu
public Menu getMenu()
Returns the menu.
- The menu item that was set when the POPULATE_POPUP
event type is triggered.
getMovementStep
public MovementStep getMovementStep()
Returns the movementStep.
- MovementStep
isOfType
public boolean isOfType(TextViewEvent.Type test)
Comparison of TextViewEvent types
test - The TreeViewEvent type to compare with this object.
- true if the types are the same.
setCount
public void setCount(int count)
Sets the count.
count - The count to set
setMenu
public void setMenu(Menu menu)
Sets the menu.
menu - The menu to set
setMovementStep
public void setMovementStep(MovementStep movementStep)
Sets the movementStep.
movementStep - The movementStep to set