com.tensegrity.graph.view.event
Interface VisualGraphViewListener

All Superinterfaces:
EventListenerTag

public interface VisualGraphViewListener
extends EventListenerTag

An implementation of this VisualGraphViewListener interface can be registered to a VisualGraphView to get notified of specific changes.

Author:
BurkhardWick

Method Summary
 void drawingOrderChanged()
          Called whenever the drawing order of the VisualGraphView has been changed.
 void layoutControllerChanged(LayoutController lcPrevious, LayoutController lcNew)
          Called whenever a different layout controller is assigned.
 void ruleRegistryChanged(RuleRegistry regPrevious, RuleRegistry regNew)
          Called whenever a different rule registry is assigned.
 

Method Detail

drawingOrderChanged

public void drawingOrderChanged()
Called whenever the drawing order of the VisualGraphView has been changed.


ruleRegistryChanged

public void ruleRegistryChanged(RuleRegistry regPrevious,
                                RuleRegistry regNew)
Called whenever a different rule registry is assigned.

Parameters:
regPrevious - The previous rule registry, might be null
regNew - The new rule registry, might be null

layoutControllerChanged

public void layoutControllerChanged(LayoutController lcPrevious,
                                    LayoutController lcNew)
Called whenever a different layout controller is assigned.

Parameters:
lcPrevious - The previous layout controller, might be null
lcNew - The new layout controller, might be null


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.