FocusEvent

Methods
2
Fields
2

Methods

MethodReturnsDescription
isTemporary()booleanWhether the change is temporary: focus went to another window and comes back with it.
getOppositeComponent()Component?The other component in the change, or nil (another window, the game).

Fields

FieldTypeDescription
FOCUS_GAINEDnumberFocusEvent.FOCUS_GAINED: 1004.
FOCUS_LOSTnumberFocusEvent.FOCUS_LOST: 1005.

Method details

isTemporary

isTemporary: (FocusEvent) -> boolean

Whether the change is temporary: focus went to another window and comes back with it.