org.gnu.gtk.event
public class TreeViewEvent 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.
An event represeting action by a TreeView widget.See Also: TreeView
| Nested Class Summary | |
|---|---|
| static class | TreeViewEvent.Type
Which type of TreeModelEvent was received |
| Constructor Summary | |
|---|---|
| TreeViewEvent(Object source, TreeViewEvent.Type type)
Creates a new TreeView Event. | |
| Method Summary | |
|---|---|
| int | getHowMany()
If the event signal was GTK's "move-cursor" (ie
MOVE_CURSOR) then
|
| MovementStep | getMovementStep()
If the event signal was GTK's "move-cursor" (ie
MOVE_CURSOR) then
|
| TreeViewColumn | getTreeColumn() |
| TreeIter | getTreeIter() |
| TreePath | getTreePath() |
| boolean | isExpand() |
| boolean | isLogical() |
| boolean | isOfType(TreeViewEvent.Type aType) |
| boolean | isOpenAll() |
| boolean | isStartEditing() |
| void | setExpand(boolean expand) |
| void | setHowMany(int howMany)
Internal method for use by event handlers in TreeView
only.
|
| void | setLogical(boolean logical) |
| void | setMovementStep(MovementStep movementStep)
Internal method for use by event handlers in TreeView
only.
|
| void | setOpenAll(boolean openAll) |
| void | setStartEditing(boolean startEditing) |
| void | setTreeColumn(TreeViewColumn treeColumn) |
| void | setTreeIter(TreeIter iter) |
| void | setTreePath(TreePath path) |
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 TreeView Event. This is used internally by java-gnome. Users only have to deal with listeners.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.
If the event signal was GTK's "move-cursor" (ieMOVE_CURSOR) then
Returns: the number of MovementSteps that occured. This is typically 1.
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.
If the event signal was GTK's "move-cursor" (ieMOVE_CURSOR) then
Returns: the MovementSteps type that occured. You can expect DISPLAY_LINES for an Up/Down arrow press, PAGES for a PageUp/PageDown press, and BUFFER_ENDS for Home/End being presesd.
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: Returns the treeColumn.
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: Returns the iter.
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: Returns the path.
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: Returns the expand.
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: Returns the logical.
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: True if the type of this event is the same as that stated.
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: Returns the openAll.
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: Returns the startEditing.
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.
Parameters: expand The expand 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.
Internal method for use by event handlers in TreeView only.Parameters: howMany
set how many Movement Steps occured based on the
gint arg2 value passed up from GTK on a
"move-cursor" event signal.
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.
Parameters: logical The logical 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.
Internal method for use by event handlers in TreeView only.Parameters: movementStep
set the MovementStep object you created based on
GtkMovementStep arg1 value passed up from GTK
on a "move-cursor" event signal.
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.
Parameters: openAll The openAll 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.
Parameters: startEditing The startEditing 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.
Parameters: treeColumn The treeColumn 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.
Parameters: iter The iter 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.
Parameters: path The path to set.