public class AbstractOverlay extends java.lang.Object
ChartPanel
.Constructor and Description |
---|
AbstractOverlay()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(OverlayChangeListener listener)
Registers an object for notification of changes to the overlay.
|
void |
fireOverlayChanged()
Sends a default
ChartChangeEvent to all registered listeners. |
protected void |
notifyListeners(OverlayChangeEvent event)
Sends a
ChartChangeEvent to all registered listeners. |
void |
removeChangeListener(OverlayChangeListener listener)
Deregisters an object for notification of changes to the overlay.
|
public AbstractOverlay()
public void addChangeListener(OverlayChangeListener listener)
listener
- the listener (null
not permitted).removeChangeListener(OverlayChangeListener)
public void removeChangeListener(OverlayChangeListener listener)
listener
- the listener (null
not permitted)addChangeListener(OverlayChangeListener)
public void fireOverlayChanged()
ChartChangeEvent
to all registered listeners.
This method is for convenience only.
protected void notifyListeners(OverlayChangeEvent event)
ChartChangeEvent
to all registered listeners.event
- information about the event that triggered the
notification.