|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.abstractics.xmlpanel.xmllayout.XmlLayoutSize
A container object to hold sizing information that is used for both XmlLayoutRow and XmlLayoutCell objects.
Constructor Summary | |
(package private) |
XmlLayoutSize(java.lang.String size)
Only package level constructable. |
Method Summary | |
(package private) static int[] |
determineSizes(XmlLayoutSize[] sizeObjects,
int maxSize)
Returns an int array of the sizes to use for the given sizeObjects |
int |
getFixed()
|
abstract int |
getNeededSize()
Should return the size element of the preferred size needed for this type of component (width for cells, height for rows) |
int |
getPercent()
|
abstract java.awt.Dimension |
getPreferredSize()
|
abstract boolean |
includeInLayout()
Returns true/false if this cell/row should be included in the layout. |
boolean |
isFixed()
|
boolean |
isPercent()
|
boolean |
isRemainder()
|
boolean |
isUnspecified()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
XmlLayoutSize(java.lang.String size)
XmlLayoutCell
and XmlLayoutRow
objects.
size
- Method Detail |
static int[] determineSizes(XmlLayoutSize[] sizeObjects, int maxSize)
sizeObjects
- maxSize
-
public int getFixed()
public int getPercent()
public abstract java.awt.Dimension getPreferredSize()
public abstract boolean includeInLayout()
public boolean isFixed()
public boolean isPercent()
public boolean isRemainder()
public boolean isUnspecified()
public abstract int getNeededSize()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |