public final class AxisEnterEvent extends AbstractEvent
Constructor and Description |
---|
AxisEnterEvent(BaseNativeEvent nativeEvent,
ScaleItem item,
Axis axis)
Creates the event with axis related to the enter
|
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 AxisEnterEvent(BaseNativeEvent nativeEvent, ScaleItem item, Axis axis)
nativeEvent
- native event of this custom eventitem
- scale item related to the enteraxis
- 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