Modifier and Type | Method and Description |
---|---|
void |
fullscreen()
Fullscreen the current window if it is not already fullscreen
|
Point |
getPosition()
Get the position of the current window, relative to the upper left corner of the screen.
|
Dimension |
getSize()
Get the size of the current window.
|
void |
maximize()
Maximizes the current window if it is not already maximized
|
void |
setPosition(Point targetPosition)
Set the position of the current window.
|
void |
setSize(Dimension targetSize)
Set the size of the current window.
|
void setSize(Dimension targetSize)
targetSize
- The target size.void setPosition(Point targetPosition)
targetPosition
- The target position of the window.Dimension getSize()
Point getPosition()
void maximize()
void fullscreen()
Copyright © 2016. All rights reserved.