public static enum SizeConstraint.SizeConstraintType extends java.lang.Enum<SizeConstraint.SizeConstraintType>
Enum Constant and Description |
---|
FIXED |
FIXED_RATIO |
PREFERRED_RATIO |
Modifier and Type | Method and Description |
---|---|
static SizeConstraint.SizeConstraintType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SizeConstraint.SizeConstraintType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SizeConstraint.SizeConstraintType FIXED
public static final SizeConstraint.SizeConstraintType FIXED_RATIO
public static final SizeConstraint.SizeConstraintType PREFERRED_RATIO
public static SizeConstraint.SizeConstraintType[] values()
for (SizeConstraint.SizeConstraintType c : SizeConstraint.SizeConstraintType.values()) System.out.println(c);
public static SizeConstraint.SizeConstraintType 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