|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zul.AbstractChartModel
public abstract class AbstractChartModel
A skeletal implementation for ChartModel
.
Constructor Summary | |
---|---|
AbstractChartModel()
|
Method Summary | |
---|---|
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.Object data)
Fires a ChartDataEvent for all registered listener
(thru addChartDataListener(org.zkoss.zul.event.ChartDataListener) . |
void |
removeChartDataListener(ChartDataListener l)
Removes a listener from the chart that's notified each time a change to the data model occurs. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractChartModel()
Method Detail |
---|
protected void fireEvent(int type, java.lang.Comparable<?> series, 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |