Dimension.Type
enum Dimension.Type
Summary
Enum Values |
|
|---|---|
FIXED |
|
MATCH_CONSTRAINT |
|
MATCH_PARENT |
|
WRAP |
Public functions |
|
|---|---|
java-static Dimension.Type! |
Returns the enum constant of this type with the specified name. |
java-static Array<Dimension.Type!>! |
values()Returns an array containing the constants of this enum type, in the order they're declared. |
Enum Values
FIXED
val Dimension.Type.FIXED: Dimension.Type
MATCH_CONSTRAINT
val Dimension.Type.MATCH_CONSTRAINT: Dimension.Type
MATCH_PARENT
val Dimension.Type.MATCH_PARENT: Dimension.Type
WRAP
val Dimension.Type.WRAP: Dimension.Type
Public functions
valueOf
java-static fun valueOf(name: String!): Dimension.Type!
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
java-static fun values(): Array<Dimension.Type!>!
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 | |
|---|---|
Array<Dimension.Type!>! |
an array containing the constants of this enum type, in the order they're declared |