IFocusable
Properties
name
readonly
name:undefined
|null
|string
For debugging purposes
Source
parent?
optional
parent:any
Source
Methods
getFocusPosition()
getFocusPosition():
Point
Gets the position in global coordinate space that the focus should be centred around.
Returns
Point
The position that the focus should be centred around.
Source
getFocusSize()
getFocusSize():
IPoint
Gets the size of the area in global coordinate space that the focus should surround.
Returns
IPoint
The size of the area that the focus should surround.
Source
isFocusable()?
optional
isFocusable():boolean
Returns
boolean
true if this focusable can be focused Defaults to this.interactive && this.worldVisible
Source
onFocusActivated()
onFocusActivated():
void
Called when this Focusable is focussed and then activated.
Returns
void
Source
onFocusBegin()
onFocusBegin():
void
Called when this Focusable is focussed.
Returns
void
Source
onFocusEnd()
onFocusEnd():
void
Called when this Focusable is no longer focussed.
Returns
void