Skip to content

IFocusManagerPlugin

Defined in: plugins/focus/FocusManagerPlugin.ts:209

Extends

Properties

active

readonly active: boolean

Defined in: plugins/focus/FocusManagerPlugin.ts:214


app

app: IApplication

Defined in: plugins/Plugin.ts:10

Inherited from

IPlugin.app


currentLayer

readonly currentLayer: undefined | IFocusLayer

Defined in: plugins/focus/FocusManagerPlugin.ts:212


currentLayerId

readonly currentLayerId: null | string | number

Defined in: plugins/focus/FocusManagerPlugin.ts:213


enabled

enabled: boolean

Defined in: plugins/focus/FocusManagerPlugin.ts:222


id

id: string

Defined in: plugins/Plugin.ts:8

Inherited from

IPlugin.id


layerCount

readonly layerCount: number

Defined in: plugins/focus/FocusManagerPlugin.ts:211


layers

readonly layers: Map<string | number, IFocusLayer>

Defined in: plugins/focus/FocusManagerPlugin.ts:215


onFocusChange

onFocusChange: Signal<(detail) => void>

Defined in: plugins/focus/FocusManagerPlugin.ts:220


onFocusLayerChange

onFocusLayerChange: Signal<(currentLayerId) => void>

Defined in: plugins/focus/FocusManagerPlugin.ts:219


onFocusManagerActivated

onFocusManagerActivated: Signal<() => void>

Defined in: plugins/focus/FocusManagerPlugin.ts:217


onFocusManagerDeactivated

onFocusManagerDeactivated: Signal<() => void>

Defined in: plugins/focus/FocusManagerPlugin.ts:218


view

readonly view: Container

Defined in: plugins/focus/FocusManagerPlugin.ts:210

Methods

add()

add(focusable, layerId?, isDefault?): void

Defined in: plugins/focus/FocusManagerPlugin.ts:240

Parameters

focusable

IFocusable | IFocusable[]

layerId?

string | number

isDefault?

boolean

Returns

void


addFocusable()

addFocusable(focusable, layerId?, isDefault?): void

Defined in: plugins/focus/FocusManagerPlugin.ts:242

Parameters

focusable

IFocusable | IFocusable[]

layerId?

string | number

isDefault?

boolean

Returns

void


addFocusLayer()

addFocusLayer(layerId?, setAsCurrent?, focusables?): IFocusLayer

Defined in: plugins/focus/FocusManagerPlugin.ts:232

Parameters

layerId?

string | number

setAsCurrent?

boolean

focusables?

IFocusable | IFocusable[]

Returns

IFocusLayer


addSignalConnection()

addSignalConnection(…args): void

Defined in: plugins/Plugin.ts:18

Parameters

args

SignalConnection[]

Returns

void

Inherited from

IPlugin.addSignalConnection


clearFocus()

clearFocus(): void

Defined in: plugins/focus/FocusManagerPlugin.ts:250

Returns

void


clearSignalConnections()

clearSignalConnections(): void

Defined in: plugins/Plugin.ts:20

Returns

void

Inherited from

IPlugin.clearSignalConnections


deactivate()

deactivate(): void

Defined in: plugins/focus/FocusManagerPlugin.ts:248

Returns

void


destroy()

destroy(): void

Defined in: plugins/Plugin.ts:16

Returns

void

Inherited from

IPlugin.destroy


focus()

focus(focusable): void

Defined in: plugins/focus/FocusManagerPlugin.ts:226

Parameters

focusable

IFocusable

Returns

void


forceFocus()

forceFocus(focusable): void

Defined in: plugins/focus/FocusManagerPlugin.ts:228

Parameters

focusable

IFocusable

Returns

void


initialize()

initialize(_app, options?): void | Promise<void>

Defined in: plugins/Plugin.ts:12

Parameters

_app

IApplication

options?

any

Returns

void | Promise<void>

Inherited from

IPlugin.initialize


postInitialize()

postInitialize(_app): void | Promise<void>

Defined in: plugins/Plugin.ts:14

Parameters

_app

IApplication

Returns

void | Promise<void>

Inherited from

IPlugin.postInitialize


registerCoreFunctions()

registerCoreFunctions(): void

Defined in: plugins/Plugin.ts:22

Returns

void

Inherited from

IPlugin.registerCoreFunctions


registerCoreSignals()

registerCoreSignals(): void

Defined in: plugins/Plugin.ts:24

Returns

void

Inherited from

IPlugin.registerCoreSignals


remove()

remove(focusable): void

Defined in: plugins/focus/FocusManagerPlugin.ts:244

Parameters

focusable

IFocusable | IFocusable[]

Returns

void


removeAllFocusLayers()

removeAllFocusLayers(): void

Defined in: plugins/focus/FocusManagerPlugin.ts:252

Returns

void


removeFocusable()

removeFocusable(focusable): void

Defined in: plugins/focus/FocusManagerPlugin.ts:246

Parameters

focusable

IFocusable | IFocusable[]

Returns

void


removeFocusLayer()

removeFocusLayer(layerId?): void

Defined in: plugins/focus/FocusManagerPlugin.ts:234

Parameters

layerId?

string | number

Returns

void


restart()

restart(): void

Defined in: plugins/focus/FocusManagerPlugin.ts:224

Returns

void


setFocus()

setFocus(focusable): void

Defined in: plugins/focus/FocusManagerPlugin.ts:230

Parameters

focusable

IFocusable

Returns

void


setFocusLayer()

setFocusLayer(layerId): void

Defined in: plugins/focus/FocusManagerPlugin.ts:236

Parameters

layerId

string | number

Returns

void


setLayerOrder()

setLayerOrder(layerIds): void

Defined in: plugins/focus/FocusManagerPlugin.ts:238

Parameters

layerIds

(string | number)[]

Returns

void


sortFocusablesByPosition()

sortFocusablesByPosition(): void

Defined in: plugins/focus/FocusManagerPlugin.ts:254

Returns

void