|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.genuine.organizer.internal.Size
Encapsulation of a size declaration in an configuration file. Additionally applies the size values to given JDialog or JInternalFrame objects.
A Size object either has explicit width and height in pixels
or it is declared to take all space that is available.
| Constructor Summary | |
Size(org.jdom.Element sizeElement)
Initialization by XML element. |
|
| Method Summary | |
void |
applySize(javax.swing.JInternalFrame frame)
Applies the size values to the given internal frame. |
void |
applySize(java.awt.Window window)
Applies the size values to the given window. |
(package private) int |
getHeight()
Returns the height. |
(package private) int |
getWidth()
Returns the width. |
(package private) boolean |
isMaximized()
Returns true if size is declared to take all available space. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Size(org.jdom.Element sizeElement)
throws ConfigurationException
| Method Detail |
boolean isMaximized()
int getHeight()
int getWidth()
public void applySize(javax.swing.JInternalFrame frame)
public void applySize(java.awt.Window window)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||