public class TreeModelEvent extends java.util.EventObject
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
childIndices
childIndices
|
protected java.lang.Object[] |
children
children
|
protected javax.swing.tree.TreePath |
path
path
|
| Constructor and Description |
|---|
TreeModelEvent(java.lang.Object source,
java.lang.Object[] path)
Constructor TreeModelEvent
|
TreeModelEvent(java.lang.Object source,
java.lang.Object[] path,
int[] childIndices,
java.lang.Object[] children)
Constructor TreeModelEvent
|
TreeModelEvent(java.lang.Object source,
javax.swing.tree.TreePath path)
Constructor TreeModelEvent
|
TreeModelEvent(java.lang.Object source,
javax.swing.tree.TreePath path,
int[] childIndices,
java.lang.Object[] children)
Constructor TreeModelEvent
|
| Modifier and Type | Method and Description |
|---|---|
int[] |
getChildIndices()
getChildIndices
|
java.lang.Object[] |
getChildren()
getChildren
|
java.lang.Object[] |
getPath()
getPath
|
javax.swing.tree.TreePath |
getTreePath()
getTreePath
|
java.lang.String |
toString()
String representation
|
protected int[] childIndices
protected java.lang.Object[] children
protected javax.swing.tree.TreePath path
public TreeModelEvent(java.lang.Object source, java.lang.Object[] path)
source - Source objectpath - public TreeModelEvent(java.lang.Object source, java.lang.Object[] path, int[] childIndices, java.lang.Object[] children)
source - Source objectpath - pathchildIndices - Child indiceschildren - Childrenpublic TreeModelEvent(java.lang.Object source, javax.swing.tree.TreePath path)
source - Source objectpath - Pathpublic TreeModelEvent(java.lang.Object source, javax.swing.tree.TreePath path, int[] childIndices, java.lang.Object[] children)
source - Source objectpath - PathchildIndices - Child indiceschildren - Childrenpublic int[] getChildIndices()
public java.lang.Object[] getChildren()
public java.lang.Object[] getPath()
public javax.swing.tree.TreePath getTreePath()
public java.lang.String toString()
toString in class java.util.EventObjectObject.getClass(),
Object.hashCode(),
Class.getName(),
Integer.toHexString(int)