y.view
Interface Graph2DSelectionListener

All Superinterfaces:
EventListener

public interface Graph2DSelectionListener
extends EventListener

The listener interface for receiving Graph2DSelectionEvents. The class that is interested in processing a selection event implements this interface. The object created with that class is then registered with a Graph2D. When the selection state of a node or an edge within the graph changes, the listener object's selectionStateChanged method is invoked.


Method Summary
 void onGraph2DSelectionEvent(Graph2DSelectionEvent e)
          Invoked when the structure of the graph has changed.
 

Method Detail

onGraph2DSelectionEvent

public void onGraph2DSelectionEvent(Graph2DSelectionEvent e)
Invoked when the structure of the graph has changed. The code written for this method performs the operations that need to occur when the graph changes.


© Copyright 2000-2003,
yWorks GmbH.
All rights reserved.

2003