Dimension.Type
public enum Dimension.Type
Summary
Enum Values |
|
|---|---|
FIXED |
|
MATCH_CONSTRAINT |
|
MATCH_PARENT |
|
WRAP |
Public methods |
|
|---|---|
static Dimension.Type |
Returns the enum constant of this type with the specified name. |
static Dimension.Type[] |
values()Returns an array containing the constants of this enum type, in the order they're declared. |
Enum Values
MATCH_CONSTRAINT
Dimension.Type Dimension.Type.MATCH_CONSTRAINT
MATCH_PARENT
Dimension.Type Dimension.Type.MATCH_PARENT
Public methods
valueOf
public static Dimension.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
| Returns | |
|---|---|
Dimension.Type |
the enum constant with the specified name |
| Throws | |
|---|---|
java.lang.IllegalArgumentException |
if this enum type has no constant with the specified name |
values
public static Dimension.Type[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
| Returns | |
|---|---|
Dimension.Type[] |
an array containing the constants of this enum type, in the order they're declared |