Constraint.Side
enum Constraint.Side
Summary
Public functions |
|
|---|---|
java-static Constraint.Side! |
Returns the enum constant of this type with the specified name. |
java-static Array<Constraint.Side!>! |
values()Returns an array containing the constants of this enum type, in the order they're declared. |
Enum Values
BASELINE
val Constraint.Side.BASELINE: Constraint.Side
BOTTOM
val Constraint.Side.BOTTOM: Constraint.Side
END
val Constraint.Side.END: Constraint.Side
LEFT
val Constraint.Side.LEFT: Constraint.Side
RIGHT
val Constraint.Side.RIGHT: Constraint.Side
START
val Constraint.Side.START: Constraint.Side
TOP
val Constraint.Side.TOP: Constraint.Side
Public functions
valueOf
java-static fun valueOf(name: String!): Constraint.Side!
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 | |
|---|---|
Constraint.Side! |
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<Constraint.Side!>!
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<Constraint.Side!>! |
an array containing the constants of this enum type, in the order they're declared |