| Modifier and Type | Field and Description |
|---|---|
protected Rectangle |
bounds |
protected int |
frameState |
protected Rectangle |
gcBounds |
| Constructor and Description |
|---|
WindowState() |
WindowState(Rectangle bounds,
Rectangle gcBounds,
int frameState) |
| Modifier and Type | Method and Description |
|---|---|
protected Window |
checkComponent(Object o) |
static Rectangle |
computeVirtualGraphicsBounds()
Calculates virtual graphic bounds.
|
Rectangle |
getBounds() |
int |
getFrameState() |
Rectangle |
getGcBounds() |
State |
getState(Object o) |
protected static Rectangle |
getWindowNormalBounds(Window window)
Gets
Window bounds from the client property |
protected static boolean |
isResizable(Window window)
Checks whether the window supports resizing
|
static void |
putWindowNormalBounds(Window window,
Rectangle bounds)
Puts
Window bounds to client property. |
void |
setBounds(Rectangle bounds) |
void |
setFrameState(int frameState) |
void |
setGcBounds(Rectangle gcBounds) |
void |
setState(Object o,
State state) |
protected Rectangle bounds
protected Rectangle gcBounds
protected int frameState
public Rectangle getBounds()
public void setBounds(Rectangle bounds)
public Rectangle getGcBounds()
public void setGcBounds(Rectangle gcBounds)
public int getFrameState()
public void setFrameState(int frameState)
protected static boolean isResizable(Window window)
window - the Window to be checkedprotected static Rectangle getWindowNormalBounds(Window window)
Window bounds from the client propertywindow - the source Windowpublic static Rectangle computeVirtualGraphicsBounds()
public static void putWindowNormalBounds(Window window, Rectangle bounds)
Window bounds to client property.window - the target Windowbounds - boundsCopyright © 2008–2020 Ultreia.io. All rights reserved.