edu.uci.ics.jung.visualization.util
Interface ChangeEventSupport

All Known Subinterfaces:
MultiLayerTransformer, MutableTransformer, VisualizationModel<V,E>
All Known Implementing Classes:
BasicTransformer, BasicVisualizationServer, DefaultChangeEventSupport, DefaultVisualizationModel, HyperbolicShapeTransformer, HyperbolicTransformer, LayoutEventBroadcaster, LensTransformer, MagnifyShapeTransformer, MagnifyTransformer, MutableAffineTransformer, MutableTransformerDecorator, ObservableCachingLayout, PersistentLayoutImpl, PerspectiveShapeTransformer, PerspectiveTransformer, PickVertexBehavior, SatelliteVisualizationViewer, VisualizationImageServer, VisualizationViewer

public interface ChangeEventSupport

the implementing class provides support for ChangeEvents.

Author:
Tom Nelson - tomnelson@dev.java.net

Method Summary
 void addChangeListener(ChangeListener l)
           
 void fireStateChanged()
           
 ChangeListener[] getChangeListeners()
          Returns an array of all the ChangeListeners added with addChangeListener().
 void removeChangeListener(ChangeListener l)
          Removes a ChangeListener.
 

Method Detail

addChangeListener

void addChangeListener(ChangeListener l)

removeChangeListener

void removeChangeListener(ChangeListener l)
Removes a ChangeListener.

Parameters:
l - the listener to be removed

getChangeListeners

ChangeListener[] getChangeListeners()
Returns an array of all the ChangeListeners added with addChangeListener().

Returns:
all of the ChangeListeners added or an empty array if no listeners have been added

fireStateChanged

void fireStateChanged()


Copyright © 2009. All Rights Reserved.