Pos type (joe.win)


The Pos enum lists ways a widget can be aligned relative to the boundaries of a rectangular space.

Constants

Static Methods

Initializer

Methods

Constants


Pos.BASELINE_CENTER


Pos.BASELINE_LEFT


Pos.BASELINE_RIGHT


Pos.BOTTOM_CENTER


Pos.BOTTOM_LEFT


Pos.BOTTOM_RIGHT


Pos.CENTER


Pos.CENTER_LEFT


Pos.CENTER_RIGHT


Pos.TOP_CENTER


Pos.TOP_LEFT


Pos.TOP_RIGHT


Static Methods


Pos.values()


Pos.values() → List

Returns a list of the enumerated type's values.

Pos Initializer


Pos(value) → Pos

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


pos.name()


pos.name() → String

Returns the name of the enumerated constant.

pos.ordinal()


pos.ordinal() → Number

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

pos.toString()


pos.toString() → String

Returns the name of the enumerated constant.