public enum LengthType extends java.lang.Enum<LengthType>
GridPanel determines dimensions of its rows and columns.| Enum Constant and Description |
|---|
Auto
The row or column is auto-sized to fit its child components.
|
Relative
The size of relative elements is calculated from available space in the
GridPanel
proportionally to the number of other relative elements. |
| Modifier and Type | Method and Description |
|---|---|
static LengthType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LengthType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LengthType Auto
public static final LengthType Relative
GridPanel
proportionally to the number of other relative elements.public static LengthType[] values()
for (LengthType c : LengthType.values()) System.out.println(c);
public static LengthType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null