FocusManagerPlugin
Defined in: plugins/focus/FocusManagerPlugin.ts:257
Extends
Implements
Constructors
new FocusManagerPlugin()
new FocusManagerPlugin(
id
):FocusManagerPlugin
Defined in: plugins/Plugin.ts:40
Parameters
id
string
= 'Plugin'
Returns
Inherited from
Properties
__dill_pixel_method_binding_root
__dill_pixel_method_binding_root:
boolean
Defined in: plugins/Plugin.ts:37
Inherited from
Plugin
.__dill_pixel_method_binding_root
id
readonly
id:string
='focus'
Defined in: plugins/focus/FocusManagerPlugin.ts:258
Implementation of
Overrides
onFocusChange
onFocusChange:
Signal
<(detail
) =>void
>
Defined in: plugins/focus/FocusManagerPlugin.ts:266
Implementation of
IFocusManagerPlugin
.onFocusChange
onFocusLayerChange
onFocusLayerChange:
Signal
<(currentLayerId
) =>void
>
Defined in: plugins/focus/FocusManagerPlugin.ts:263
Implementation of
IFocusManagerPlugin
.onFocusLayerChange
onFocusManagerActivated
onFocusManagerActivated:
Signal
<() =>void
>
Defined in: plugins/focus/FocusManagerPlugin.ts:261
Implementation of
IFocusManagerPlugin
.onFocusManagerActivated
onFocusManagerDeactivated
onFocusManagerDeactivated:
Signal
<() =>void
>
Defined in: plugins/focus/FocusManagerPlugin.ts:262
Implementation of
IFocusManagerPlugin
.onFocusManagerDeactivated
view
readonly
view:Container
Defined in: plugins/focus/FocusManagerPlugin.ts:259
Implementation of
Accessors
active
Get Signature
get active():
boolean
Defined in: plugins/focus/FocusManagerPlugin.ts:294
Returns
boolean
Implementation of
app
Get Signature
get app():
T
Defined in: plugins/Plugin.ts:45
Returns
T
Implementation of
Inherited from
currentLayer
Get Signature
get currentLayer():
undefined
|IFocusLayer
Defined in: plugins/focus/FocusManagerPlugin.ts:285
Returns
undefined
| IFocusLayer
Implementation of
IFocusManagerPlugin
.currentLayer
currentLayerId
Get Signature
get currentLayerId():
null
|string
|number
Defined in: plugins/focus/FocusManagerPlugin.ts:281
Returns
null
| string
| number
Implementation of
IFocusManagerPlugin
.currentLayerId
enabled
Get Signature
get enabled():
boolean
Defined in: plugins/focus/FocusManagerPlugin.ts:300
Returns
boolean
Set Signature
set enabled(
value
):void
Defined in: plugins/focus/FocusManagerPlugin.ts:304
Parameters
value
boolean
Returns
void
Implementation of
layerCount
Get Signature
get layerCount():
number
Defined in: plugins/focus/FocusManagerPlugin.ts:308
Returns
number
Implementation of
IFocusManagerPlugin
.layerCount
layers
Get Signature
get layers():
Map
<string
|number
,IFocusLayer
>
Defined in: plugins/focus/FocusManagerPlugin.ts:275
Returns
Map
<string
| number
, IFocusLayer
>
Implementation of
Methods
_onKeyDown()
_onKeyDown(
e
):void
Defined in: plugins/focus/FocusManagerPlugin.ts:495
Parameters
e
KeyboardEvent
Returns
void
_onKeyUp()
_onKeyUp(
e
):void
Defined in: plugins/focus/FocusManagerPlugin.ts:528
Parameters
e
any
Returns
void
_onMouseMove()
_onMouseMove(
e
):void
Defined in: plugins/focus/FocusManagerPlugin.ts:543
Parameters
e
MouseEvent
Returns
void
add()
add(
focusable
,layerId
?,isDefault
?):void
Defined in: plugins/focus/FocusManagerPlugin.ts:349
Parameters
focusable
IFocusable
| IFocusable
[]
layerId?
string
| number
isDefault?
boolean
= false
Returns
void
Implementation of
addFocusable()
addFocusable(
focusable
,layerId
?,isDefault
?):void
Defined in: plugins/focus/FocusManagerPlugin.ts:353
Parameters
focusable
IFocusable
| IFocusable
[]
layerId?
null
| string
| number
isDefault?
boolean
= false
Returns
void
Implementation of
IFocusManagerPlugin
.addFocusable
addFocusLayer()
addFocusLayer(
layerId
?,setAsCurrent
?,focusables
?):IFocusLayer
Defined in: plugins/focus/FocusManagerPlugin.ts:407
Parameters
layerId?
string
| number
setAsCurrent?
boolean
= true
focusables?
IFocusable
| IFocusable
[]
Returns
Implementation of
IFocusManagerPlugin
.addFocusLayer
addSignalConnection()
addSignalConnection(…
args
):void
Defined in: plugins/Plugin.ts:71
Add signal connections to the container.
Parameters
args
…SignalConnection
[]
The signal connections to add.
Returns
void
Implementation of
IFocusManagerPlugin
.addSignalConnection
Inherited from
clearFocus()
clearFocus():
void
Defined in: plugins/focus/FocusManagerPlugin.ts:486
Returns
void
Implementation of
IFocusManagerPlugin
.clearFocus
clearSignalConnections()
clearSignalConnections():
void
Defined in: plugins/Plugin.ts:77
Returns
void
Implementation of
IFocusManagerPlugin
.clearSignalConnections
Inherited from
deactivate()
deactivate():
void
Defined in: plugins/focus/FocusManagerPlugin.ts:343
Returns
void
Implementation of
IFocusManagerPlugin
.deactivate
destroy()
destroy():
void
Defined in: plugins/focus/FocusManagerPlugin.ts:335
Returns
void
Implementation of
Overrides
focus()
focus(
focusable
):void
Defined in: plugins/focus/FocusManagerPlugin.ts:462
Parameters
focusable
Returns
void
Implementation of
forceFocus()
forceFocus(
focusable
):void
Defined in: plugins/focus/FocusManagerPlugin.ts:454
Parameters
focusable
Returns
void
Implementation of
IFocusManagerPlugin
.forceFocus
initialize()
initialize(
app
):void
Defined in: plugins/focus/FocusManagerPlugin.ts:316
Parameters
app
Returns
void
Implementation of
IFocusManagerPlugin
.initialize
Overrides
postInitialize()
postInitialize(
_app
):void
|Promise
<void
>
Defined in: plugins/focus/FocusManagerPlugin.ts:484
Parameters
_app
Returns
void
| Promise
<void
>
Implementation of
IFocusManagerPlugin
.postInitialize
Overrides
remove()
remove(
focusable
):void
Defined in: plugins/focus/FocusManagerPlugin.ts:378
Parameters
focusable
IFocusable
| IFocusable
[]
Returns
void
Implementation of
removeAllFocusLayers()
removeAllFocusLayers():
void
Defined in: plugins/focus/FocusManagerPlugin.ts:490
Returns
void
Implementation of
IFocusManagerPlugin
.removeAllFocusLayers
removeFocusable()
removeFocusable(
focusable
):void
Defined in: plugins/focus/FocusManagerPlugin.ts:382
Parameters
focusable
IFocusable
| IFocusable
[]
Returns
void
Implementation of
IFocusManagerPlugin
.removeFocusable
removeFocusLayer()
removeFocusLayer(
layerId
?,removeTopLayerIfUndefined
?):void
Defined in: plugins/focus/FocusManagerPlugin.ts:433
Parameters
layerId?
string
| number
removeTopLayerIfUndefined?
boolean
= true
Returns
void
Implementation of
IFocusManagerPlugin
.removeFocusLayer
restart()
restart(
reverse
):void
Defined in: plugins/focus/FocusManagerPlugin.ts:445
Parameters
reverse
boolean
= false
Returns
void
Implementation of
setFocus()
setFocus(
focusable
):void
Defined in: plugins/focus/FocusManagerPlugin.ts:458
Parameters
focusable
Returns
void
Implementation of
setFocusLayer()
setFocusLayer(
layerId
):void
Defined in: plugins/focus/FocusManagerPlugin.ts:466
Parameters
layerId
string
| number
Returns
void
Implementation of
IFocusManagerPlugin
.setFocusLayer
setLayerOrder()
setLayerOrder(
layerIds
):void
Defined in: plugins/focus/FocusManagerPlugin.ts:396
Parameters
layerIds
(string
| number
)[]
Returns
void
Implementation of
IFocusManagerPlugin
.setLayerOrder
sortFocusablesByPosition()
sortFocusablesByPosition():
void
Defined in: plugins/focus/FocusManagerPlugin.ts:312
Returns
void