|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.zkoss.zul.event.ChartDataEvent
public class ChartDataEvent
Defines an event that encapsulates changes to a chart's data model.
Field Summary | |
---|---|
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. |
Constructor Summary | |
---|---|
ChartDataEvent(ChartModel model,
int type,
Comparable series,
Comparable category,
int seriesIndex,
int categoryIndex,
Object data)
|
Method Summary | |
---|---|
Comparable |
getCategory()
Returns the category of the chart data model. |
int |
getCategoryIndex()
Returns the category index, if any. |
Object |
getData()
Returns customer data. |
ChartModel |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int CHANGED
public static final int ADDED
public static final int REMOVED
Constructor Detail |
---|
public ChartDataEvent(ChartModel model, int type, Comparable series, Comparable category, int seriesIndex, int categoryIndex, Object data)
Method Detail |
---|
public int getSeriesIndex()
public int getCategoryIndex()
public Comparable getCategory()
public ChartModel getModel()
public int getType()
public Comparable getSeries()
public Object getData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |