name
name: (RequestFocusType) -> stringThe constant's name as declared.
RequestFocusType.valueOf(…)
RequestFocusType.OFF
RequestFocusType.REQUEST| 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(RequestFocusType) | number | This ordinal less other's. |
equals(any) | boolean | Whether other is this constant. == answers the same. |
values() | {RequestFocusType} | 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) | RequestFocusType | valueOf(name): the constant named name; any other name is an error. |
| Field | Type | Description |
|---|---|---|
OFF | RequestFocusType | OFF: ordinal 0. |
REQUEST | RequestFocusType | REQUEST: ordinal 1. |
TASKBAR | RequestFocusType | TASKBAR: ordinal 2. |
FORCE | RequestFocusType | FORCE: ordinal 3. |
| Method | Returns | Description |
|---|---|---|
ClientConfig.notificationRequestFocus | RequestFocusType | The window focus request a notification makes. |
Notification.getRequestFocus | RequestFocusType? | The window focus request it makes. |
RequestFocusTypeClass.valueOf | RequestFocusType | valueOf(name): the constant named name; any other name is an error. |
RequestFocusTypeClass.values | {RequestFocusType} | 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: (RequestFocusType) -> stringThe constant's name as declared.
ordinalordinal: (RequestFocusType) -> numberThe constant's 0-based position in values().
toStringtoString: (RequestFocusType) -> stringname(); tostring(c) answers the same.
compareTocompareTo: (RequestFocusType, RequestFocusType) -> numberThis ordinal less other's.
equalsequals: (RequestFocusType, any) -> booleanWhether other is this constant. == answers the same.
valuesvalues: () -> {RequestFocusType}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) -> RequestFocusTypevalueOf(name): the constant named name; any other name is an error.