public class WindowResized extends Event
Modifier and Type | Field and Description |
---|---|
private int |
height
The new window height.
|
private int |
width
The new window width.
|
Constructor and Description |
---|
WindowResized(TopLevelWindow<?> source,
int width,
int height)
Create a new event.
|
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Get the window's resized width.
|
int |
getWidth()
Get the window's resized width.
|
TopLevelWindow<?> |
source()
Get the window source.
|
private final int width
private final int height
public WindowResized(TopLevelWindow<?> source, int width, int height)
source
- The top-level window being resized.width
- The new window width.height
- The new window height.public TopLevelWindow<?> source()
public int getWidth()
public int getHeight()