Orientation type (joe.win)


Constants

Static Methods

Initializer

Methods

Constants


Orientation.HORIZONTAL


Orientation.VERTICAL


Static Methods


Orientation.values()


Orientation.values() → List

Returns a list of the enumerated type's values.

Orientation Initializer


Orientation(value) → Orientation

Attempts to convert the value to an enum constant for this enum. The value may be:

  • One of the enum's constants.
  • A string that matches the name of a constant, disregarding case.
  • A keyword whose name matches the name of a constant, disregarding case.

Methods


orientation.name()


orientation.name() → String

Returns the name of the enumerated constant.

orientation.ordinal()


orientation.ordinal() → Number

Returns the index of the enumerated constant in the values() list.

orientation.toString()


orientation.toString() → String

Returns the name of the enumerated constant.