InfoBoxPriority

Methods
7
Fields
4

Getting one

InfoBoxPriority.valueOf(…)
InfoBoxPriority.HIGH
InfoBoxPriority.MED

Methods

MethodReturnsDescription
name()stringThe constant's name as declared.
ordinal()numberThe constant's 0-based position in values().
toString()stringname(); tostring(c) answers the same.
compareTo(InfoBoxPriority)numberThis ordinal less other's.
equals(any)booleanWhether other is this constant. == answers the same.
values(){InfoBoxPriority}Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it.
valueOf(string)InfoBoxPriorityvalueOf(name): the constant named name; any other name is an error.

Fields

FieldTypeDescription
HIGHInfoBoxPriorityHIGH: ordinal 0.
MEDInfoBoxPriorityMED: ordinal 1.
NONEInfoBoxPriorityNONE: ordinal 2.
LOWInfoBoxPriorityLOW: ordinal 3.

Returned by

MethodReturnsDescription
InfoBox.getPriorityInfoBoxPriority?The priority (default NONE).
InfoBoxPriorityClass.valueOfInfoBoxPriorityvalueOf(name): the constant named name; any other name is an error.
InfoBoxPriorityClass.values{InfoBoxPriority}Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it.

Method details

values

values: () -> {InfoBoxPriority}

Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it.

valueOf

valueOf: (string) -> InfoBoxPriority

valueOf(name): the constant named name; any other name is an error.