Package diva.graph
Interface GraphViewListener
-
- All Superinterfaces:
java.util.EventListener
- All Known Implementing Classes:
IncrementalLayoutListener
public interface GraphViewListener extends java.util.EventListener
A listener for changes in a graph's structure or contents, which are communicated through GraphViewEvent objects. GraphViewListeners register themselves with a GraphViewModel object, and receive events from Nodes and Edges contained by that model's root graph or any of its subgraphs.- Version:
- $Id$
- Author:
- Michael Shilman, Steve Neuendorffer
- Pt.AcceptedRating:
- Red
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
edgeDrawn(GraphViewEvent e)
A connector representing an edge was just drawn.void
edgeRouted(GraphViewEvent e)
The connector representing an edge was just routed.void
nodeDrawn(GraphViewEvent e)
A figure representing a node was just drawn.void
nodeMoved(GraphViewEvent e)
The figure representing a node was moved.
-
-
-
Method Detail
-
nodeMoved
void nodeMoved(GraphViewEvent e)
The figure representing a node was moved.
-
edgeRouted
void edgeRouted(GraphViewEvent e)
The connector representing an edge was just routed.
-
nodeDrawn
void nodeDrawn(GraphViewEvent e)
A figure representing a node was just drawn.
-
edgeDrawn
void edgeDrawn(GraphViewEvent e)
A connector representing an edge was just drawn.
-
-