public enum MultiRowConstraint extends Enum<MultiRowConstraint>
Enum Constant and Description |
---|
HEIGHT
Constraint specifier for a multi-row rectangle arrangement that constrains the height of the layout.
|
NONE
Constraint specifier for a multi-row rectangle arrangement that is unconstrained.
|
WIDTH
Constraint specifier for a multi-row rectangle arrangement that constrains the width of the layout.
|
Modifier and Type | Method and Description |
---|---|
static MultiRowConstraint |
fromOrdinal(int ordinal) |
int |
value() |
static MultiRowConstraint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MultiRowConstraint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MultiRowConstraint HEIGHT
public static final MultiRowConstraint NONE
public static final MultiRowConstraint WIDTH
public static final MultiRowConstraint fromOrdinal(int ordinal)
public int value()
public static MultiRowConstraint valueOf(String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullname
- the name of the enum constant to be returned.public static MultiRowConstraint[] values()
for (MultiRowConstraint c : MultiRowConstraint.values()) System.out.println(c);