org.gnu.gtk.event

Class TreeModelEvent

Implemented Interfaces:
Serializable

public class TreeModelEvent
extends GtkEvent

An event represeting action by a TreeModel class.

Nested Class Summary

static class
TreeModelEvent.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.

Constructor Summary

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.

Method Summary

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

Methods inherited from class org.gnu.gtk.event.GtkEvent

getSource, getType, toString

Constructor Details

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 Details

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.