public final class AxisClickEvent extends AbstractEvent<AxisClickEventHandler>
GwtEvent.Type<H>
Modifier and Type | Field and Description |
---|---|
static GwtEvent.Type<AxisClickEventHandler> |
TYPE
Event type
|
Constructor and Description |
---|
AxisClickEvent(NativeEvent nativeEvent,
ScaleItem item,
Axis axis)
Creates the event with axis related to the click
|
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(AxisClickEventHandler handler) |
GwtEvent.Type<AxisClickEventHandler> |
getAssociatedType() |
Axis |
getAxis()
Returns the axis configuration instance if exists.
|
ScaleItem |
getItem()
Returns the scale item related to the click
|
getChart, getNativeEvent
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
public static final GwtEvent.Type<AxisClickEventHandler> TYPE
public AxisClickEvent(NativeEvent 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 chartpublic GwtEvent.Type<AxisClickEventHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<AxisClickEventHandler>
protected void dispatch(AxisClickEventHandler handler)
dispatch
in class GwtEvent<AxisClickEventHandler>