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.TreeViewEvent
public class TreeViewEvent
extends GtkEvent
TreeView
widget.
TreeView
Nested Class Summary | |
static class |
|
Constructor Summary | |
|
Method Summary | |
int |
|
MovementStep |
|
TreeViewColumn |
|
TreeIter |
|
TreePath |
|
boolean |
|
boolean |
|
boolean |
|
boolean |
|
boolean |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
public TreeViewEvent(Object source, TreeViewEvent.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 TreeView Event. This is used internally by java-gnome. Users only have to deal with listeners.
public int getHowMany()
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.
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.
If the event signal was GTK's "move-cursor" (ieMOVE_CURSOR
) then
- Returns:
- the MovementSteps type that occured. You can expect
MovementStep.DISPLAY_LINES
for an Up/Down arrow press,MovementStep.PAGES
for a PageUp/PageDown press, andMovementStep.BUFFER_ENDS
for Home/End being presesd.
public TreeViewColumn getTreeColumn()
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.
public TreeIter getTreeIter()
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.
public TreePath getTreePath()
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.
public boolean isExpand()
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.
public boolean isLogical()
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.
public boolean isOfType(TreeViewEvent.Type aType)
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.
public boolean isOpenAll()
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.
public boolean isStartEditing()
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.
public void setExpand(boolean 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.
- Parameters:
expand
- The expand to set.
public void setHowMany(int howMany)
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 inTreeView
only.
- Parameters:
howMany
- set how many Movement Steps occured based on thegint arg2
value passed up from GTK on a "move-cursor" event signal.
public void setLogical(boolean 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.
- Parameters:
logical
- The logical 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.
Internal method for use by event handlers inTreeView
only.
- Parameters:
movementStep
- set the MovementStep object you created based onGtkMovementStep arg1
value passed up from GTK on a "move-cursor" event signal.
public void setOpenAll(boolean 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.
- Parameters:
openAll
- The openAll to set.
public void setStartEditing(boolean 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:
startEditing
- The startEditing to set.
public void setTreeColumn(TreeViewColumn 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.
- Parameters:
treeColumn
- The treeColumn to set.
public void setTreeIter(TreeIter 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.
- Parameters:
iter
- The iter to set.
public 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.
- Parameters:
path
- The path to set.