|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface TestResultTable.TreeObserver
Tree-aware observer of the TRT.
Method Summary | |
---|---|
void |
nodeChanged(TestResultTable.TreeNode[] path,
java.lang.Object what,
int index,
java.lang.Object old)
A node has changed. |
void |
nodeInserted(TestResultTable.TreeNode[] path,
java.lang.Object what,
int index)
A node has been inserted into the tree. |
void |
nodeRemoved(TestResultTable.TreeNode[] path,
java.lang.Object what,
int index)
An item has been removed from the tree. |
Method Detail |
---|
void nodeInserted(TestResultTable.TreeNode[] path, java.lang.Object what, int index)
path
- The path to the node that was inserted. Does not include
the actual object which is new.what
- The actual object that changed. So path
plus
this is the entire path. The type will either be TestResult or
TreeNode.index
- The index in path[path.length-1]
where the
new node was placed.void nodeChanged(TestResultTable.TreeNode[] path, java.lang.Object what, int index, java.lang.Object old)
path
- The path to the node that changed. Does not include
the actual object which changed.what
- The actual object that changed. So path
plus
this is the entire path. The type will either be TestResult or
TreeNode.index
- The index in path[path.length-1]
that changed.old
- The old value at the changed location.void nodeRemoved(TestResultTable.TreeNode[] path, java.lang.Object what, int index)
path
- The path to the node that changed. Does not include
the actual object which changed.what
- The actual object that was removed. So path
plus
this is the entire path. The type will either be TestResult or
TreeNode.index
- The index in path[path.length-1]
that was
removed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |