public final class AxisHoverEvent extends AbstractEvent
Constructor and Description |
---|
AxisHoverEvent(BaseNativeEvent nativeEvent,
ScaleItem item,
Axis axis)
Creates the event with axis related to the hover
|
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 action
|
getChart, getNativeEvent, getType
public static final EventType TYPE
public AxisHoverEvent(BaseNativeEvent nativeEvent, ScaleItem item, Axis axis)
nativeEvent
- native event of this custom eventitem
- scale item related to the hoveraxis
- axis configuration instanceprotected void dispatch(EventHandler handler)
Event
public final ScaleItem getItem()
public final Axis getAxis()
null
.null
if no axis configuration has been provided to chart