|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContextListener
The context graph mutation listener interface.
| Method Summary | |
|---|---|
void |
graphAdded(TreeNode parent,
TreeNode added)
Called when a new subgraph is attached. |
void |
graphRemoved(TreeNode parent,
TreeNode removed)
Called when a subgraph is detached. |
| Method Detail |
|---|
void graphAdded(TreeNode parent,
TreeNode added)
The parent node is the currently attached node to which the
incoming graph has been attached. The added node is the newly
attached sub-graph. The graph accessible beneath added may include
sub-graphs that are already attached to this tree.
parent - parent of the new sub-graphadded - newly added sub-graph
void graphRemoved(TreeNode parent,
TreeNode removed)
The parent node the still attached node from which the outgoing
graph has been detached. The removed node is the just detached
sub-graph. The graph accessible beneath removed may include
sub-graphs that are still attached to this tree.
parent - previous parent of the removed sub-graphremoved - the removed sub-graph
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||