Package org.zkoss.zul
Class SimpleXYZModel
java.lang.Object
org.zkoss.zul.AbstractChartModel
org.zkoss.zul.SimpleXYModel
org.zkoss.zul.SimpleXYZModel
- All Implemented Interfaces:
Serializable,ChartModel,XYModel,XYZModel
A XYZ data model implementation of
XYZModel.
A XYZ model is an N series of (X, Y, Z) data objects .- Since:
- 3.5.0
- Author:
- henrichen
- See Also:
-
Nested 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, _seriesMapFields inherited from class org.zkoss.zul.AbstractChartModel
_listeners -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddValue(Comparable<?> series, Number x, Number y) Not supported since we need not only x, y, but also z information.voidaddValue(Comparable<?> series, Number x, Number y, int index) Not supported since we need not only x, y, but also z information.voidaddValue(Comparable<?> series, Number x, Number y, Number z) Append an (x,y,z) into a series.voidaddValue(Comparable<?> series, Number x, Number y, Number z, int index) Add an (x,y,z) into a series at the specified index.getZ(Comparable<?> series, int index) Get Z value of a specified series and data index.voidremoveValue(Comparable<?> series, int index) Remove (x,y) value of a specified series and data index.voidsetValue(Comparable<?> series, Number x, Number y, int index) Not supported since we need not only x, y, but also z information.voidsetValue(Comparable<?> series, Number x, Number y, 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, setAutoSortMethods inherited from class org.zkoss.zul.AbstractChartModel
addChartDataListener, fireEvent, removeChartDataListenerMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.zkoss.zul.ChartModel
addChartDataListener, removeChartDataListenerMethods inherited from interface org.zkoss.zul.XYModel
clear, getDataCount, getSeries, getSeries, getX, getY, isAutoSort, removeSeries, setAutoSort
-
Constructor Details
-
SimpleXYZModel
public SimpleXYZModel()
-
-
Method Details
-
addValue
Not supported since we need not only x, y, but also z information.- Specified by:
addValuein interfaceXYModel- Overrides:
addValuein classSimpleXYModel- Parameters:
series- the series.x- the x value.y- the y value.
-
addValue
Not supported since we need not only x, y, but also z information.- Specified by:
addValuein interfaceXYModel- Overrides:
addValuein classSimpleXYModel- Parameters:
series- the series.x- the x value.y- the y value.index- the data index.
-
addValue
Description copied from interface:XYZModelAppend an (x,y,z) into a series. -
addValue
Description copied from interface:XYZModelAdd an (x,y,z) into a series at the specified index. -
setValue
Not supported since we need not only x, y, but also z information.- Specified by:
setValuein interfaceXYModel- Overrides:
setValuein classSimpleXYModel- Parameters:
series- the seriesx- the x valuey- the y valueindex- the data index
-
setValue
Description copied from interface:XYZModelReplace an (x,y,z) into a series at the specified index. -
getZ
Description copied from interface:XYZModelGet Z value of a specified series and data index. -
removeValue
Description copied from interface:XYModelRemove (x,y) value of a specified series and data index.- Specified by:
removeValuein interfaceXYModel- Overrides:
removeValuein classSimpleXYModel- Parameters:
series- the series.index- the data index.
-