|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GraphListener
A listener for changes in a graph's structure or contents, which are communicated through GraphEvent objects. GraphListeners register themselves with a GraphModel object, and receive events from Nodes and Edges contained by that model's root graph or any of its subgraphs.
Yellow |
Method Summary | |
---|---|
void |
edgeHeadChanged(GraphEvent e)
An edge's head has been changed in a registered graph or one of its subgraphs. |
void |
edgeTailChanged(GraphEvent e)
An edge's tail has been changed in a registered graph or one of its subgraphs. |
void |
nodeAdded(GraphEvent e)
A node has been been added to the registered graph or one of its subgraphs. |
void |
nodeRemoved(GraphEvent e)
A node has been been deleted from the registered graphs or one of its subgraphs. |
void |
structureChanged(GraphEvent e)
The structure of the event's "source" graph has been drastically changed in some way, and this event signals the listener to refresh its view of that graph from model. |
Method Detail |
---|
void edgeHeadChanged(GraphEvent e)
void edgeTailChanged(GraphEvent e)
void nodeAdded(GraphEvent e)
void nodeRemoved(GraphEvent e)
void structureChanged(GraphEvent e)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |