Package org.zkoss.chart
Class ChartsEvent
- java.lang.Object
-
- org.zkoss.zk.ui.event.Event
-
- org.zkoss.chart.ChartsEvent
-
- All Implemented Interfaces:
Serializable
public class ChartsEvent extends org.zkoss.zk.ui.event.EventRepresents an event cause by user's interaction with the Highcharts.- Author:
- jumperchen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChartsEvent(String name, org.zkoss.zk.ui.Component target, int sIndex, int pIndex, Comparable<?> category, boolean checked, boolean isDrilldown)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Comparable<?>getCategory()Returns the category value, if any.static ChartsEventgetChartsEvent(org.zkoss.zk.au.AuRequest request)PointgetPoint()Returns the point object, if any.intgetPointIndex()Returns the point index, if any.SeriesgetSeries()Returns the series object.intgetSeriesIndex()Returns the series index, if any.booleanisChecked()Returns the checkbox event whether is checked, if any.booleanisDrilldown()
-
-
-
Constructor Detail
-
ChartsEvent
public ChartsEvent(String name, org.zkoss.zk.ui.Component target, int sIndex, int pIndex, Comparable<?> category, boolean checked, boolean isDrilldown)
-
-
Method Detail
-
getChartsEvent
public static final ChartsEvent getChartsEvent(org.zkoss.zk.au.AuRequest request)
-
getCategory
public Comparable<?> getCategory()
Returns the category value, if any.
-
getPointIndex
public int getPointIndex()
Returns the point index, if any.Only support for
ChartsEvents.ON_PLOT_CLICK- Returns:
- -1 if not a point event
-
getSeriesIndex
public int getSeriesIndex()
Returns the series index, if any.
-
isChecked
public boolean isChecked()
Returns the checkbox event whether is checked, if any.Only support for
ChartsEvents.ON_PLOT_CHECKBOX_CLICK- Returns:
- false if not a checkbox event
-
isDrilldown
public boolean isDrilldown()
-
getPoint
public Point getPoint()
Returns the point object, if any.Only support for
ChartsEvents.ON_PLOT_CLICK- Returns:
- null if not a point event
-
getSeries
public Series getSeries()
Returns the series object.
-
-