RequestFocusType

Methods
7
Fields
4

Getting one

RequestFocusType.valueOf(…)
RequestFocusType.OFF
RequestFocusType.REQUEST

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(RequestFocusType)numberThis ordinal less other's.
equals(any)booleanWhether 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)RequestFocusTypevalueOf(name): the constant named name; any other name is an error.

Fields

FieldTypeDescription
OFFRequestFocusTypeOFF: ordinal 0.
REQUESTRequestFocusTypeREQUEST: ordinal 1.
TASKBARRequestFocusTypeTASKBAR: ordinal 2.
FORCERequestFocusTypeFORCE: ordinal 3.

Returned by

MethodReturnsDescription
ClientConfig.notificationRequestFocusRequestFocusTypeThe window focus request a notification makes.
Notification.getRequestFocusRequestFocusType?The window focus request it makes.
RequestFocusTypeClass.valueOfRequestFocusTypevalueOf(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.

Method details

values

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.