org.gnu.gtk.event

Class TreeModelEvent

public class TreeModelEvent 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 TreeModel class.
Nested Class Summary
static classTreeModelEvent.Type
Type of a TreeModelEvent
Constructor Summary
TreeModelEvent(Object source, TreeModelEvent.Type type)
Creates a new TreeModelEvent.
Method Summary
int[]getNewOrder()
TreeItergetTreeIter()
TreePathgetTreePath()
booleanisOfType(TreeModelEvent.Type aType)
voidsetNewOrder(int[] newOrder)
voidsetTreeIter(TreeIter treeIter)
voidsetTreePath(TreePath treePath)

Constructor Detail

TreeModelEvent

public TreeModelEvent(Object source, TreeModelEvent.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 TreeModelEvent. This is used internally by java-gnome. Users only have to deal with listeners.

Method Detail

getNewOrder

public int[] getNewOrder()

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 newOrder.

getTreeIter

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 treeIter.

getTreePath

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 treePath.

isOfType

public boolean isOfType(TreeModelEvent.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.

setNewOrder

public void setNewOrder(int[] newOrder)

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: newOrder The newOrder to set.

setTreeIter

public void setTreeIter(TreeIter treeIter)

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: treeIter The treeIter to set.

setTreePath

public void setTreePath(TreePath treePath)

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: treePath The treePath to set.