org.jgraph

Class JGraph.GraphSelectionRedirector

Enclosing Class:
JGraph
Implemented Interfaces:
EventListener, Serializable, GraphSelectionListener

protected class JGraph.GraphSelectionRedirector
extends java.lang.Object
implements Serializable, GraphSelectionListener

Handles creating a new GraphSelectionEvent with the JGraph as the source and passing it off to all the listeners.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence.

Method Summary

void
valueChanged(GraphSelectionEvent e)
Invoked by the GraphSelectionModel when the selection changes.

Method Details

valueChanged

public void valueChanged(GraphSelectionEvent e)
Invoked by the GraphSelectionModel when the selection changes.
Specified by:
valueChanged in interface GraphSelectionListener
Parameters:
e - the GraphSelectionEvent generated by the GraphSelectionModel

Copyright (C) 2001-2008 Gaudenz Alder. All rights reserved.