Package org.zkoss.chart.model
Interface ChartsDataEvent
-
- All Known Subinterfaces:
DialChartsDataEvent
- All Known Implementing Classes:
ChartsDataEventImpl,DialChartsDataEventImpl
public interface ChartsDataEventA inferface of charts data event- Author:
- jumperchen
- See Also:
Charts
-
-
Field Summary
Fields Modifier and Type Field Description static intADDEDIdentifies the addition of one or more contiguous items to the list.static intCHANGEDIdentifies one or more changes in the lists contents.static intREMOVEDIdentifies the removal of one or more contiguous items from the list.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ComparablegetCategory()Returns the category of the chart data model.intgetCategoryIndex()Returns the category index, if any.ObjectgetData()Returns customer data.ChartsModelgetModel()Returns the chart model that fires this event.ComparablegetSeries()Returns the series of the chart data model.intgetSeriesIndex()Returns the series index, if any.intgetType()Returns the event type: CHANGED, ADDED, REMOVED.
-
-
-
Field Detail
-
CHANGED
static final int CHANGED
Identifies one or more changes in the lists contents.- See Also:
- Constant Field Values
-
ADDED
static final int ADDED
Identifies the addition of one or more contiguous items to the list.- See Also:
- Constant Field Values
-
REMOVED
static final int REMOVED
Identifies the removal of one or more contiguous items from the list.- See Also:
- Constant Field Values
-
-
Method Detail
-
getSeriesIndex
int getSeriesIndex()
Returns the series index, if any.
-
getCategoryIndex
int getCategoryIndex()
Returns the category index, if any.
-
getCategory
Comparable getCategory()
Returns the category of the chart data model.
-
getModel
ChartsModel getModel()
Returns the chart model that fires this event.
-
getType
int getType()
Returns the event type: CHANGED, ADDED, REMOVED.
-
getSeries
Comparable getSeries()
Returns the series of the chart data model.
-
getData
Object getData()
Returns customer data. Depends on the implementation.
-
-