|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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,
java.lang.Comparable series,
java.lang.Object data)
|
Method Summary | |
---|---|
java.lang.Object |
getData()
Returns customed data. |
ChartModel |
getModel()
Returns the chart model that fires this event. |
java.lang.Comparable |
getSeries()
Returns the series index of the chart data model. |
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, java.lang.Comparable series, java.lang.Object data)
Method Detail |
---|
public ChartModel getModel()
public int getType()
public java.lang.Comparable getSeries()
public java.lang.Object getData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |