name
name: (InfoBoxPriority) -> stringThe constant's name as declared.
InfoBoxPriority.valueOf(…)
InfoBoxPriority.HIGH
InfoBoxPriority.MED| Method | Returns | Description |
|---|---|---|
name() | string | The constant's name as declared. |
ordinal() | number | The constant's 0-based position in values(). |
toString() | string | name(); tostring(c) answers the same. |
compareTo(InfoBoxPriority) | number | This ordinal less other's. |
equals(any) | boolean | Whether 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) | InfoBoxPriority | valueOf(name): the constant named name; any other name is an error. |
| Field | Type | Description |
|---|---|---|
HIGH | InfoBoxPriority | HIGH: ordinal 0. |
MED | InfoBoxPriority | MED: ordinal 1. |
NONE | InfoBoxPriority | NONE: ordinal 2. |
LOW | InfoBoxPriority | LOW: ordinal 3. |
| Method | Returns | Description |
|---|---|---|
InfoBox.getPriority | InfoBoxPriority? | The priority (default NONE). |
InfoBoxPriorityClass.valueOf | InfoBoxPriority | valueOf(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. |
namename: (InfoBoxPriority) -> stringThe constant's name as declared.
ordinalordinal: (InfoBoxPriority) -> numberThe constant's 0-based position in values().
toStringtoString: (InfoBoxPriority) -> stringname(); tostring(c) answers the same.
compareTocompareTo: (InfoBoxPriority, InfoBoxPriority) -> numberThis ordinal less other's.
equalsequals: (InfoBoxPriority, any) -> booleanWhether other is this constant. == answers the same.
valuesvalues: () -> {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.
valueOfvalueOf: (string) -> InfoBoxPriorityvalueOf(name): the constant named name; any other name is an error.