|
ChartCat 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectli.netcat.chart.ChartModelSupport
Support class that facilitates the implementation of custom chart models.
Either extend this class or use it as a delegate or extend the
AbstractChartModel
. This class manages the list of stack model listeners.
Constructor Summary | |
ChartModelSupport()
Constructs a new ChartModelSupport with no initial listeners. |
Method Summary | |
void |
addChartModelListener(ChartModelListener listener)
Adds a ChartModelListener to the list of listeners. |
void |
fireChartModelEvent(java.lang.Object source)
Fires a chart model event containing the given source to all listeners that are currently installed. |
void |
removeChartModelListener(ChartModelListener listener)
Removes a ChartModelListener from the list of listeners. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ChartModelSupport()
ChartModelSupport
with no initial listeners.
Method Detail |
public void addChartModelListener(ChartModelListener listener)
ChartModelListener
to the list of listeners.
public void removeChartModelListener(ChartModelListener listener)
ChartModelListener
from the list of listeners.
listener
- A listener that has been added.public void fireChartModelEvent(java.lang.Object source)
source
- The source of the event.
|
ChartCat 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |