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