Side

enum Side

Java class for side

.

The following schema fragment specifies the expected content contained within this class.


<simpleType name="side">
  <restriction base="{http://www.w3.org/2001/XMLSchema}string">
    <enumeration value="left"/>
    <enumeration value="right"/>
  </restriction>
</simpleType>

Entries

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun fromValue(v: String): Side
Gets the enum associated to the value passed as parameter.
Link copied to clipboard
open fun value(): String
Gets the value associated to the enum constant.
Link copied to clipboard
open fun valueOf(name: String): 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.)

Link copied to clipboard
open fun values(): Array<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.