|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zul.AbstractChartModel org.zkoss.zul.SimpleXYModel org.zkoss.zul.SimpleXYZModel
public class SimpleXYZModel
A XYZ data model implementation of XYZModel
.
A XYZ model is an N series of (X, Y, Z) data objects .
XYModel
,
Chart
,
Serialized FormNested Class Summary |
---|
Nested classes/interfaces inherited from class org.zkoss.zul.SimpleXYModel |
---|
SimpleXYModel.XYPair |
Field Summary |
---|
Fields inherited from class org.zkoss.zul.SimpleXYModel |
---|
_seriesList, _seriesMap |
Fields inherited from class org.zkoss.zul.AbstractChartModel |
---|
_listeners |
Constructor Summary | |
---|---|
SimpleXYZModel()
|
Method Summary | |
---|---|
void |
addValue(java.lang.Comparable<?> series,
java.lang.Number x,
java.lang.Number y)
Not supported since we need not only x, y, but also z information. |
void |
addValue(java.lang.Comparable<?> series,
java.lang.Number x,
java.lang.Number y,
int index)
Not supported since we need not only x, y, but also z information. |
void |
addValue(java.lang.Comparable<?> series,
java.lang.Number x,
java.lang.Number y,
java.lang.Number z)
Append an (x,y,z) into a series. |
void |
addValue(java.lang.Comparable<?> series,
java.lang.Number x,
java.lang.Number y,
java.lang.Number z,
int index)
Add an (x,y,z) into a series at the specified index. |
java.lang.Number |
getZ(java.lang.Comparable<?> series,
int index)
Get Z value of a specified series and data index. |
void |
removeValue(java.lang.Comparable<?> series,
int index)
Remove (x,Y) value of a specified series and data index. |
void |
setValue(java.lang.Comparable<?> series,
java.lang.Number x,
java.lang.Number y,
int index)
Not supported since we need not only x, y, but also z information. |
void |
setValue(java.lang.Comparable<?> series,
java.lang.Number x,
java.lang.Number y,
java.lang.Number z,
int index)
Replace an (x,y,z) into a series at the specified index. |
Methods inherited from class org.zkoss.zul.SimpleXYModel |
---|
clear, clone, getDataCount, getSeries, getSeries, getX, getY, isAutoSort, removeSeries, setAutoSort |
Methods inherited from class org.zkoss.zul.AbstractChartModel |
---|
addChartDataListener, fireEvent, fireEvent, removeChartDataListener |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.zkoss.zul.XYModel |
---|
clear, getDataCount, getSeries, getSeries, getX, getY, isAutoSort, removeSeries, setAutoSort |
Methods inherited from interface org.zkoss.zul.ChartModel |
---|
addChartDataListener, removeChartDataListener |
Constructor Detail |
---|
public SimpleXYZModel()
Method Detail |
---|
public void addValue(java.lang.Comparable<?> series, java.lang.Number x, java.lang.Number y)
addValue
in interface XYModel
addValue
in class SimpleXYModel
series
- the series.x
- the x value.y
- the y value.public void addValue(java.lang.Comparable<?> series, java.lang.Number x, java.lang.Number y, int index)
addValue
in interface XYModel
addValue
in class SimpleXYModel
series
- the series.x
- the x value.y
- the y value.index
- the data index.public void setValue(java.lang.Comparable<?> series, java.lang.Number x, java.lang.Number y, int index)
setValue
in interface XYModel
setValue
in class SimpleXYModel
series
- the seriesx
- the x valuey
- the y valueindex
- the data indexpublic java.lang.Number getZ(java.lang.Comparable<?> series, int index)
XYZModel
getZ
in interface XYZModel
series
- the series.index
- the data index.public void addValue(java.lang.Comparable<?> series, java.lang.Number x, java.lang.Number y, java.lang.Number z)
XYZModel
addValue
in interface XYZModel
series
- the series.x
- the x value.y
- the y value.z
- the z value.public void setValue(java.lang.Comparable<?> series, java.lang.Number x, java.lang.Number y, java.lang.Number z, int index)
XYZModel
setValue
in interface XYZModel
series
- the series.x
- the x value.y
- the y value.z
- the z value.index
- the data index.public void addValue(java.lang.Comparable<?> series, java.lang.Number x, java.lang.Number y, java.lang.Number z, int index)
XYZModel
addValue
in interface XYZModel
series
- the series.x
- the x value.y
- the y value.z
- the z value.index
- the data index.public void removeValue(java.lang.Comparable<?> series, int index)
XYModel
removeValue
in interface XYModel
removeValue
in class SimpleXYModel
series
- the series.index
- the data index.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |