public final class AxisClickEvent extends AbstractEvent<AxisClickEventHandler>
| Modifier and Type | Field and Description |
|---|---|
static com.google.gwt.event.shared.GwtEvent.Type<AxisClickEventHandler> |
TYPE
Event type
|
| Constructor and Description |
|---|
AxisClickEvent(com.google.gwt.dom.client.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) |
com.google.gwt.event.shared.GwtEvent.Type<AxisClickEventHandler> |
getAssociatedType() |
Axis |
getAxis()
Returns the axis configuration instance if exists.
|
ScaleItem |
getItem()
Returns the scale item related to the click
|
getChart, getNativeEventassertLive, getSource, isLive, kill, revivepublic static final com.google.gwt.event.shared.GwtEvent.Type<AxisClickEventHandler> TYPE
public ScaleItem getItem()
public Axis getAxis()
null.null if no axis configuration has been provided to chartpublic com.google.gwt.event.shared.GwtEvent.Type<AxisClickEventHandler> getAssociatedType()
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<AxisClickEventHandler>protected void dispatch(AxisClickEventHandler handler)
dispatch in class com.google.gwt.event.shared.GwtEvent<AxisClickEventHandler>