W
- public class ReshapeEvent<W extends AbstractWebGLCanvas<W>> extends Event<ReshapeHandler<W>>
Event.Type<H extends EventHandler>
Modifier and Type | Field and Description |
---|---|
protected W |
canvas |
static Event.Type<ReshapeHandler<? extends Widget<? extends Element,?>>> |
TYPE |
Constructor and Description |
---|
ReshapeEvent() |
ReshapeEvent(W canvas,
int x,
int y,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(ReshapeHandler<W> handler) |
W |
getCanvas() |
int |
getHeight() |
Event.Type<ReshapeHandler<W>> |
getType() |
int |
getWidth() |
int |
getX() |
int |
getY() |
void |
setCanvas(W canvas) |
assertLive, cast, checkIsInEventThread, getEventPhase, getSource, isLive, isPreventDefault, isStopPropagation, kill, preventDefault, releaseCapture, revive, setCapture, setCapture, setSource, stopPropagation
public static Event.Type<ReshapeHandler<? extends Widget<? extends Element,?>>> TYPE
protected W extends AbstractWebGLCanvas<W> canvas
public ReshapeEvent()
public ReshapeEvent(W canvas, int x, int y, int width, int height)
public int getX()
public int getY()
public int getWidth()
public int getHeight()
public Event.Type<ReshapeHandler<W>> getType()
getType
in class Event<ReshapeHandler<W extends AbstractWebGLCanvas<W>>>
protected void dispatch(ReshapeHandler<W> handler)
dispatch
in class Event<ReshapeHandler<W extends AbstractWebGLCanvas<W>>>
public W getCanvas()
public void setCanvas(W canvas)
canvas
- the canvas to setCopyright © 2018 Xalys. All rights reserved.