public final class ChartResizeEvent extends AbstractEvent<ChartResizeEventHandler>
GwtEvent.Type<H>
Modifier and Type | Field and Description |
---|---|
static GwtEvent.Type<ChartResizeEventHandler> |
TYPE
Event type
|
Constructor and Description |
---|
ChartResizeEvent(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) |
GwtEvent.Type<ChartResizeEventHandler> |
getAssociatedType() |
SizeItem |
getSize()
Returns item with the new size of the chart
|
getChart, getNativeEvent
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
public static final GwtEvent.Type<ChartResizeEventHandler> TYPE
public ChartResizeEvent(NativeEvent nativeEvent, SizeItem size)
nativeEvent
- native event of this custom eventsize
- item with the new size of the chartpublic SizeItem getSize()
public GwtEvent.Type<ChartResizeEventHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<ChartResizeEventHandler>
protected void dispatch(ChartResizeEventHandler handler)
dispatch
in class GwtEvent<ChartResizeEventHandler>