|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is used by the charts to access the data that needs to be shown. ChartModel defines the methods to access the data series and the methods to handle the ModelChangeListeners that are notified of all changes to the model.
Field Summary | |
static int |
COLOR
Constant used as a hint that a color in this ChartModel was changed. |
static int |
LABEL
Constant used as a hint that a label in this ChartModel was changed. |
static int |
SERIES
Constant used as a hint that a series in this ChartModel was modified. |
static int |
VALUE
Constant used as a hint that a value in this ChartModel was changed. |
Method Summary | |
void |
addModelChangeListener(ModelChangeListener l)
Adds a listener that is notified each time a change to the data model occurs. |
void |
fireModelChanged(ModelChangedEvent e)
Notifies all registered ModelChangeListeners that this model has changed. |
int |
getSeriesSize()
Gets the number of data Series of this ChartModel |
void |
removeModelChangeListener(ModelChangeListener l)
Removes a listener from this ChartModel. |
java.util.Enumeration |
series()
Returns an Enumeration of all data Series of this model |
Field Detail |
public static final int VALUE
ModelChangedEvent
public static final int LABEL
ModelChangedEvent
public static final int COLOR
ModelChangedEvent
public static final int SERIES
ModelChangedEvent
Method Detail |
public void addModelChangeListener(ModelChangeListener l)
public void removeModelChangeListener(ModelChangeListener l)
public void fireModelChanged(ModelChangedEvent e)
public int getSeriesSize()
public java.util.Enumeration series()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |