|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.widget.SwingSession.WindowState
public static class SwingSession.WindowState
State for Window
| Field Summary | |
|---|---|
protected Rectangle |
bounds
|
protected int |
frameState
|
protected Rectangle |
gcBounds
|
| Constructor Summary | |
|---|---|
SwingSession.WindowState()
|
|
SwingSession.WindowState(Rectangle bounds,
Rectangle gcBounds,
int frameState)
|
|
| Method Summary | |
|---|---|
protected Window |
checkComponent(Object o)
|
static Rectangle |
computeVirtualGraphicsBounds()
Calculates virtual graphic bounds. |
Rectangle |
getBounds()
|
int |
getFrameState()
|
Rectangle |
getGcBounds()
|
SwingSession.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,
SwingSession.State state)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Rectangle bounds
protected Rectangle gcBounds
protected int frameState
| Constructor Detail |
|---|
public SwingSession.WindowState()
public SwingSession.WindowState(Rectangle bounds,
Rectangle gcBounds,
int frameState)
| Method Detail |
|---|
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 Window checkComponent(Object o)
protected static boolean isResizable(Window window)
window - the Window to be checked
protected static Rectangle getWindowNormalBounds(Window window)
Window bounds from the client property
window - the source Window
public static Rectangle computeVirtualGraphicsBounds()
public static void putWindowNormalBounds(Window window,
Rectangle bounds)
Window bounds to client property.
window - the target Windowbounds - boundspublic SwingSession.State getState(Object o)
getState in interface SwingSession.State
public void setState(Object o,
SwingSession.State state)
setState in interface SwingSession.State
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||