W
- @JsType(namespace="xgl.events") public class ContentResizeEvent<W extends Widget<? extends Element<?>,W>> extends UIEvent<ContentResizeHandler<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<ContentResizeHandler<? extends Widget<? extends Element,?>>> |
TYPE |
Constructor and Description |
---|
ContentResizeEvent() |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(ContentResizeHandler<W> handler) |
double |
getHeight() |
UIEvent.UIType<ContentResizeHandler<W>> |
getType() |
double |
getWidth() |
void |
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<ContentResizeHandler<? extends Widget<? extends Element,?>>> TYPE
public UIEvent.UIType<ContentResizeHandler<W>> getType()
protected void dispatch(ContentResizeHandler<W> handler)
dispatch
in class UIEvent<ContentResizeHandler<W extends Widget<? extends Element<?>,W>>,NativeUIEvent<? extends Element<?>>>
public void setSize(double width, double height)
public double getWidth()
public double getHeight()
Copyright © 2018 Xalys. All rights reserved.