public final class AxisClickEvent extends AbstractEvent
| Constructor and Description |
|---|
AxisClickEvent(BaseNativeEvent nativeEvent,
ScaleItem item,
Axis axis)
Creates the event with axis related to the click
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(EventHandler handler)
Implemented by subclasses to dispatch event on the handler.
|
Axis |
getAxis()
Returns the axis configuration instance if exists.
|
ScaleItem |
getItem()
Returns the scale item related to the click
|
getChart, getNativeEvent, getTypepublic static final EventType TYPE
public AxisClickEvent(BaseNativeEvent nativeEvent, ScaleItem item, Axis axis)
nativeEvent - native event of this custom eventitem - scale item related to the clickaxis - axis configuration instancepublic ScaleItem getItem()
public Axis getAxis()
null.null if no axis configuration has been provided to chartprotected void dispatch(EventHandler handler)
Event