public final class ChartResizeEvent extends AbstractEvent<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,
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
|
getChart, getNativeEvent
assertLive, getSource, isLive, kill, revive
public static final com.google.gwt.event.shared.GwtEvent.Type<ChartResizeEventHandler> TYPE
public ChartResizeEvent(com.google.gwt.dom.client.NativeEvent nativeEvent, SizeItem size)
nativeEvent
- native event of this custom eventsize
- 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>