Package org.zkoss.chart
Class ChartsClickEvent
- java.lang.Object
-
- org.zkoss.zk.ui.event.Event
-
- org.zkoss.zk.ui.event.MouseEvent
-
- org.zkoss.chart.ChartsClickEvent
-
- All Implemented Interfaces:
Serializable
public class ChartsClickEvent extends org.zkoss.zk.ui.event.MouseEvent
A click event used forCharts
component to provide an extra information on the clicked spot can be found through event.getXAxis() and event.getYAxis(), which are numbers containing each axis' value at the clicked spot.- Author:
- jumperchen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChartsClickEvent(String name, org.zkoss.zk.ui.Component target, int x, int y, int pageX, int pageY, int keys, Number xAxis, Number yAxis)
ChartsClickEvent(String name, org.zkoss.zk.ui.Component target, String area, int keys)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChartsClickEvent
getChartsClickEvent(org.zkoss.zk.au.AuRequest request)
Number
getXAxis()
Returns the xAxis value.Number
getYAxis()
Returns the yAxis value.-
Methods inherited from class org.zkoss.zk.ui.event.MouseEvent
getArea, getAreaComponent, getKeys, getMouseEvent, getPageX, getPageY, getX, getY
-
-
-
-
Method Detail
-
getChartsClickEvent
public static ChartsClickEvent getChartsClickEvent(org.zkoss.zk.au.AuRequest request)
-
getXAxis
public Number getXAxis()
Returns the xAxis value.
-
getYAxis
public Number getYAxis()
Returns the yAxis value.
-
-