|
ElegantJ Trees Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
com.elegantj.awt.tree.AWTTreeEvent
AWTTreeEvent is used to notify interested parties that state has changed in the event source.
| Field Summary | |
protected int[] |
childIndices
The indexes of the child |
protected AWTTreeNode[] |
children
The childrens nodes array |
protected AWTTreeNode[] |
path
The path of the node |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
AWTTreeEvent(java.lang.Object source,
AWTTreeNode[] path)
Constructor of the AWTTreeEvent |
|
AWTTreeEvent(java.lang.Object source,
AWTTreeNode[] path,
int[] childIndices,
AWTTreeNode[] children)
Constructor of the AWTTreeEvent |
|
| Method Summary | |
int[] |
getChildIndices()
Method which returns the array of the child indexes which are affected |
AWTTreeNode[] |
getChildren()
Method which returns the array of the childrens node which are affected |
AWTTreeNode[] |
getPath()
Method which returns the path of the node from itself to the root |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected AWTTreeNode[] path
protected int[] childIndices
protected AWTTreeNode[] children
| Constructor Detail |
public AWTTreeEvent(java.lang.Object source,
AWTTreeNode[] path,
int[] childIndices,
AWTTreeNode[] children)
source - The object that is the source of the eventpath - The path of the node whose childrens were affectedchildIndices - The int array of the child indexeschildren - The nodes of the children
public AWTTreeEvent(java.lang.Object source,
AWTTreeNode[] path)
source - The object that is the source of the eventpath - The path of the node whose childrens were affected| Method Detail |
public AWTTreeNode[] getPath()
public AWTTreeNode[] getChildren()
public int[] getChildIndices()
|
ElegantJ Trees Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||