public final class ChartResizeEvent extends AbstractChartEvent<ChartResizeEventHandler>
| Modifier and Type | Field and Description |
|---|---|
static com.google.gwt.event.shared.GwtEvent.Type<ChartResizeEventHandler> |
TYPE
Event type
|
| Constructor and Description |
|---|
ChartResizeEvent(com.google.gwt.dom.client.NativeEvent nativeEvent,
Chart functionContext,
SizeItem size)
Creates the event with a item with new size of the chart
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(ChartResizeEventHandler handler) |
com.google.gwt.event.shared.GwtEvent.Type<ChartResizeEventHandler> |
getAssociatedType() |
SizeItem |
getSize()
Returns item with the new size of the chart
|
getContext, getKeygetChart, getNativeEventassertLive, getSource, isLive, kill, revivepublic static final com.google.gwt.event.shared.GwtEvent.Type<ChartResizeEventHandler> TYPE
public ChartResizeEvent(com.google.gwt.dom.client.NativeEvent nativeEvent,
Chart functionContext,
SizeItem size)
nativeEvent - native event of this custom eventfunctionContext - function context provided by CHART.JSsize - item with the new size of the chartpublic SizeItem getSize()
public com.google.gwt.event.shared.GwtEvent.Type<ChartResizeEventHandler> getAssociatedType()
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<ChartResizeEventHandler>protected void dispatch(ChartResizeEventHandler handler)
dispatch in class com.google.gwt.event.shared.GwtEvent<ChartResizeEventHandler>