public abstract class AbstractChartModel extends java.lang.Object implements ChartModel, java.io.Serializable
ChartModel
.Modifier and Type | Field and Description |
---|---|
protected java.util.List<ChartDataListener> |
_listeners |
Constructor and Description |
---|
AbstractChartModel() |
Modifier and Type | Method and Description |
---|---|
void |
addChartDataListener(ChartDataListener l)
Adds a listener to the chart that's notified each time a change
to the data model occurs.
|
java.lang.Object |
clone() |
protected void |
fireEvent(int type,
java.lang.Comparable<?> series,
java.lang.Comparable<?> category,
int seriesIndex,
int categoryIndex,
java.lang.Object data)
Fires a
ChartDataEvent for all registered listener
(thru addChartDataListener(org.zkoss.zul.event.ChartDataListener) . |
protected void |
fireEvent(int type,
java.lang.Comparable<?> series,
java.lang.Object data)
Deprecated.
As released of 7.0.1, use
fireEvent(int, Comparable, Comparable, int, int, Object) instead. |
void |
removeChartDataListener(ChartDataListener l)
Removes a listener from the chart that's notified each time
a change to the data model occurs.
|
protected java.util.List<ChartDataListener> _listeners
protected void fireEvent(int type, java.lang.Comparable<?> series, java.lang.Object data)
fireEvent(int, Comparable, Comparable, int, int, Object)
instead.ChartDataEvent
for all registered listener
(thru addChartDataListener(org.zkoss.zul.event.ChartDataListener)
.
Note: you can invoke this method only in an event listener.
protected void fireEvent(int type, java.lang.Comparable<?> series, java.lang.Comparable<?> category, int seriesIndex, int categoryIndex, java.lang.Object data)
ChartDataEvent
for all registered listener
(thru addChartDataListener(org.zkoss.zul.event.ChartDataListener)
.
Note: you can invoke this method only in an event listener.
public void addChartDataListener(ChartDataListener l)
ChartModel
addChartDataListener
in interface ChartModel
public void removeChartDataListener(ChartDataListener l)
ChartModel
removeChartDataListener
in interface ChartModel
public java.lang.Object clone()
clone
in class java.lang.Object
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.