Package org.zkoss.chart.model
Interface ChartsDataEvent
-
- All Known Subinterfaces:
DialChartsDataEvent
- All Known Implementing Classes:
ChartsDataEventImpl
,DialChartsDataEventImpl
public interface ChartsDataEvent
A inferface of charts data event- Author:
- jumperchen
- See Also:
Charts
-
-
Field Summary
Fields Modifier and Type Field Description static int
ADDED
Identifies the addition of one or more contiguous items to the list.static int
CHANGED
Identifies one or more changes in the lists contents.static int
REMOVED
Identifies the removal of one or more contiguous items from the list.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Comparable
getCategory()
Returns the category of the chart data model.int
getCategoryIndex()
Returns the category index, if any.Object
getData()
Returns customer data.ChartsModel
getModel()
Returns the chart model that fires this event.Comparable
getSeries()
Returns the series of the chart data model.int
getSeriesIndex()
Returns the series index, if any.int
getType()
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.
-
-