|
||||||||||
| 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,
java.lang.Comparable series,
java.lang.Comparable category,
int seriesIndex,
int categoryIndex,
java.lang.Object data)
|
|
| Method Summary | |
|---|---|
java.lang.Comparable |
getCategory()
Returns the category of the chart data model. |
int |
getCategoryIndex()
Returns the category index, if any. |
java.lang.Object |
getData()
Returns customer data. |
ChartModel |
getModel()
Returns the chart model that fires this event. |
java.lang.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,
java.lang.Comparable series,
java.lang.Comparable category,
int seriesIndex,
int categoryIndex,
java.lang.Object data)
| Method Detail |
|---|
public int getSeriesIndex()
public int getCategoryIndex()
public java.lang.Comparable getCategory()
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 | |||||||||