W
- @JsType(namespace="xgl.events") public class ResizeEvent<W extends Widget<? extends Element<?>,W>> extends UIEvent<ResizeHandler<W>,NativeUIEvent<? extends Element<?>>>
UIEvent.HasBrowserEvent, UIEvent.UIType<H extends EventHandler>
Event.Type<H extends EventHandler>
Modifier and Type | Field and Description |
---|---|
static UIEvent.UIType<ResizeHandler<? extends Widget<? extends Element,?>>> |
TYPE |
Constructor and Description |
---|
ResizeEvent() |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(ResizeHandler<W> handler) |
double |
getHeight() |
UIEvent.UIType<ResizeHandler<W>> |
getType() |
double |
getWidth() |
ResizeEvent<W> |
setSize(double width,
double height) |
getEventPhase, getNativeEvent, isInEventThread, preventDefault, setNativeEvent, stopImmediatePropagation, stopPropagation
assertLive, cast, checkIsInEventThread, getSource, isLive, isPreventDefault, isStopPropagation, kill, releaseCapture, revive, setCapture, setCapture, setSource
public static final UIEvent.UIType<ResizeHandler<? extends Widget<? extends Element,?>>> TYPE
public UIEvent.UIType<ResizeHandler<W>> getType()
protected void dispatch(ResizeHandler<W> handler)
dispatch
in class UIEvent<ResizeHandler<W extends Widget<? extends Element<?>,W>>,NativeUIEvent<? extends Element<?>>>
public ResizeEvent<W> setSize(double width, double height)
public double getWidth()
public double getHeight()
Copyright © 2018 Xalys. All rights reserved.