Priority
type (joe.win
)
The Priority
enum's values indicate when a widget
should resize itself to fit its parent widget. The
default is generally NEVER
.
- Priority.values() → List
- priority.name() → String
- priority.ordinal() → Number
- priority.toString() → String
Constants
Priority.ALWAYS
Priority.NEVER
Priority.SOMETIMES
Static Methods
Priority.values()
Priority.values() → List
Returns a list of the enumerated type's values.
Priority Initializer
Priority(value) → Priority
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
priority.name()
priority.name() → String
Returns the name of the enumerated constant.
priority.ordinal()
priority.ordinal() → Number
Returns the index of the enumerated constant
in the values()
list.
priority.toString()
priority.toString() → String
Returns the name of the enumerated constant.