Package org.jungrapht.visualization.util
Interface ChangeEventSupport
-
- All Known Subinterfaces:
MultiLayerTransformer
,MutableTransformer
- All Known Implementing Classes:
DefaultChangeEventSupport
,DefaultTransformer
,HyperbolicShapeTransformer
,HyperbolicTransformer
,LensTransformer
,LensTransformSupport
,MagnifyShapeTransformer
,MagnifyTransformer
,MutableAffineTransformer
,MutableTransformerDecorator
,TransformSupport
public interface ChangeEventSupport
the implementing class provides support for ChangeEvents.- Author:
- Tom Nelson - tomnelson@dev.java.net
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addChangeListener(ChangeListener l)
void
fireStateChanged()
ChangeListener[]
getChangeListeners()
Returns an array of all theChangeListener
s 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 theChangeListener
s added with addChangeListener().- Returns:
- all of the
ChangeListener
s added or an empty array if no listeners have been added
-
fireStateChanged
void fireStateChanged()
-
-