|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.window.support.WindowSize
public class WindowSize
Window size specification.
| Constructor Summary | |
|---|---|
WindowSize()
|
|
| Method Summary | |
|---|---|
int |
getHeight()
Gets the height. |
int |
getWidth()
Gets the width. |
boolean |
isCentered()
Checks if the window must be centred on the screen |
boolean |
isMaximized()
Checks if is maximized. |
boolean |
isPack()
Checks if is pack. |
boolean |
isSaveInPrefs()
Checks if is save in prefs. |
void |
setCentered(boolean centered)
Sets if the window must be centred on the screen |
void |
setHeight(int height)
Sets the height. |
void |
setMaximized(boolean maximized)
Sets the maximized. |
void |
setPack(boolean pack)
Sets the pack. |
void |
setSaveInPrefs(boolean saveInPrefs)
Sets the save in prefs. |
void |
setWidth(int width)
Sets the width. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WindowSize()
| Method Detail |
|---|
public int getHeight()
public int getWidth()
public boolean isCentered()
true if the window must be centred on the screenpublic boolean isMaximized()
public boolean isPack()
public boolean isSaveInPrefs()
public void setCentered(boolean centered)
centered - true if the window must be centred on the screenpublic void setHeight(int height)
height - the new heightpublic void setMaximized(boolean maximized)
maximized - the new maximizedpublic void setPack(boolean pack)
pack - the new packpublic void setSaveInPrefs(boolean saveInPrefs)
saveInPrefs - the new save in prefspublic void setWidth(int width)
width - the new width
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||