public class TResizeEvent extends TInputEvent
Modifier and Type | Class and Description |
---|---|
static class |
TResizeEvent.Type
Resize events can be generated for either a total screen resize or a
widget/window resize.
|
Constructor and Description |
---|
TResizeEvent(TResizeEvent.Type type,
int width,
int height)
Public contructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Get the new height.
|
TResizeEvent.Type |
getType()
Get resize type.
|
int |
getWidth()
Get the new width.
|
java.lang.String |
toString()
Make human-readable description of this TResizeEvent.
|
getTime
public TResizeEvent(TResizeEvent.Type type, int width, int height)
type
- the Type of resize, Screen or Widgetwidth
- the new widthheight
- the new heightpublic TResizeEvent.Type getType()
public int getWidth()
public int getHeight()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2019 Kevin Lamonte. Licensed MIT.