javax.swing.event

Class TreeModelEvent

public class TreeModelEvent extends EventObject

TreeModelEvent
Field Summary
protected int[]childIndices
childIndices
protected Object[]children
children
protected TreePathpath
path
Constructor Summary
TreeModelEvent(Object source, Object[] path)
Constructor TreeModelEvent
TreeModelEvent(Object source, Object[] path, int[] childIndices, Object[] children)
Constructor TreeModelEvent
TreeModelEvent(Object source, TreePath path)
Constructor TreeModelEvent
TreeModelEvent(Object source, TreePath path, int[] childIndices, Object[] children)
Constructor TreeModelEvent
Method Summary
int[]getChildIndices()
getChildIndices
Object[]getChildren()
getChildren
Object[]getPath()
getPath
TreePathgetTreePath()
getTreePath
StringtoString()
String representation

Field Detail

childIndices

protected int[] childIndices
childIndices

children

protected Object[] children
children

path

protected TreePath path
path

Constructor Detail

TreeModelEvent

public TreeModelEvent(Object source, Object[] path)
Constructor TreeModelEvent

Parameters: source Source object path

TreeModelEvent

public TreeModelEvent(Object source, Object[] path, int[] childIndices, Object[] children)
Constructor TreeModelEvent

Parameters: source Source object path path childIndices Child indices children Children

TreeModelEvent

public TreeModelEvent(Object source, TreePath path)
Constructor TreeModelEvent

Parameters: source Source object path Path

TreeModelEvent

public TreeModelEvent(Object source, TreePath path, int[] childIndices, Object[] children)
Constructor TreeModelEvent

Parameters: source Source object path Path childIndices Child indices children Children

Method Detail

getChildIndices

public int[] getChildIndices()
getChildIndices

Returns: child indices

getChildren

public Object[] getChildren()
getChildren

Returns: children

getPath

public Object[] getPath()
getPath

Returns: path

getTreePath

public TreePath getTreePath()
getTreePath

Returns: TreePath

toString

public String toString()
String representation

Returns: String representation