| org.zkoss.zul.PieModel
All known Subclasses: org.zkoss.zul.SimplePieModel,
clear | public void clear()(Code) | | clear the model.
|
getCategories | public Collection getCategories()(Code) | | Get categories as a collection.
|
getCategory | public Comparable getCategory(int index)(Code) | | Get category of the specified index (0 based).
Parameters: index - the index of the category. |
getValue | public Number getValue(Comparable category)(Code) | | Get value of the specified category.
Parameters: category - the pie category. |
removeValue | public void removeValue(Comparable category)(Code) | | remove the value of the specified category.
Parameters: category - the pie category. |
setValue | public void setValue(Comparable category, Number value)(Code) | | add or update the value of a specified category.
Parameters: category - the pie category. Parameters: value - the pie value. |
|
|