public interface SingleValueCategoryModel extends ChartModel
Chart
,
SimpleSingleValueCategoryModel
Modifier and Type | Method and Description |
---|---|
void |
clear()
clear the model.
|
java.util.Collection<java.lang.Comparable<?>> |
getCategories()
Get categories as a collection.
|
java.lang.Comparable<?> |
getCategory(int index)
Get category of the specified index (0 based).
|
java.lang.Number |
getValue(java.lang.Comparable<?> category)
Get value of the specified category.
|
void |
removeValue(java.lang.Comparable<?> category)
remove the value of the specified category.
|
void |
setValue(java.lang.Comparable<?> category,
java.lang.Number value)
add or update the value of a specified category.
|
addChartDataListener, removeChartDataListener
java.lang.Comparable<?> getCategory(int index)
index
- the index of the category.java.util.Collection<java.lang.Comparable<?>> getCategories()
java.lang.Number getValue(java.lang.Comparable<?> category)
category
- the pie category.void setValue(java.lang.Comparable<?> category, java.lang.Number value)
category
- the pie category.value
- the pie value.void removeValue(java.lang.Comparable<?> category)
category
- the pie category.void clear()
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.