|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CategoryModel
A catetory chart data model.
Chart
,
SimpleCategoryModel
Method Summary | |
---|---|
void |
clear()
clear the model. |
Collection<Comparable<?>> |
getCategories()
Get categories of a specified series as a collection. |
Comparable<?> |
getCategory(int index)
Get a category of the specified index; |
Collection<List<Comparable<?>>> |
getKeys()
Get (series, category) pairs of this chart data model. |
Collection<Comparable<?>> |
getSeries()
Get all series as a collection. |
Comparable<?> |
getSeries(int index)
Get a series of the specified index; |
Number |
getValue(Comparable<?> series,
Comparable<?> category)
Get value of the specified series and category. |
void |
removeValue(Comparable<?> series,
Comparable<?> category)
remove the value of the specified series and category. |
void |
setValue(Comparable<?> series,
Comparable<?> category,
Number value)
add or update the value of a specified series and category. |
Methods inherited from interface org.zkoss.zul.ChartModel |
---|
addChartDataListener, removeChartDataListener |
Method Detail |
---|
Comparable<?> getSeries(int index)
Comparable<?> getCategory(int index)
Collection<Comparable<?>> getSeries()
Collection<Comparable<?>> getCategories()
Collection<List<Comparable<?>>> getKeys()
setValue(java.lang.Comparable>, java.lang.Comparable>, java.lang.Number)
is
called.
Number getValue(Comparable<?> series, Comparable<?> category)
series
- the seriescategory
- the category.void setValue(Comparable<?> series, Comparable<?> category, Number value)
series
- the seriescategory
- the category.value
- the valuevoid removeValue(Comparable<?> series, Comparable<?> category)
series
- the seriescategory
- the category.void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |