| org.zkoss.zul.CategoryModel
All known Subclasses: org.zkoss.zul.SimpleCategoryModel,
clear | public void clear()(Code) | | clear the model.
|
getCategories | public Collection getCategories()(Code) | | Get categories of a specified series as a collection.
|
getCategory | public Comparable getCategory(int index)(Code) | | Get a category of the specified index;
|
getKeys | public Collection getKeys()(Code) | | Get (series, category) pairs of this chart data model. The returned
value is a collection of List where list.get(0) is the
series, list.get(1) is the category, in the order the
CategoryModel.setValue is
called.
|
getSeries | public Comparable getSeries(int index)(Code) | | Get a series of the specified index;
|
getValue | public Number getValue(Comparable series, Comparable category)(Code) | | Get value of the specified series and category.
Parameters: series - the series Parameters: category - the category. |
removeValue | public void removeValue(Comparable series, Comparable category)(Code) | | remove the value of the specified series and category.
Parameters: series - the series Parameters: category - the category. |
setValue | public void setValue(Comparable series, Comparable category, Number value)(Code) | | add or update the value of a specified series and category.
Parameters: series - the series Parameters: category - the category. Parameters: value - the value |
|
|