diva.graphx.event
Interface GraphViewListener

All Superinterfaces:
EventListener

public interface GraphViewListener
extends 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:
$Revision: 1.1 $
Author:
Michael Shilman (michaels@eecs.berkeley.edu), Steve Neuendorffer (neuendor@eecs.berkeley.edu)

Method Summary
 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.



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.