interfaces~LayerManager()

Management service for CEF layers in Inexor Core Client.

Methods

afterPropertiesSet()

Initialization after the components in the application context have been constructed.

createLayer(instanceId, name, webUserInterface, acceptingMouseInput, acceptingKeyInput)

Creates a new layer on the Inexor Core Client with the given instance id.
Parameters:
Name Type Default Description
instanceId string The id of the Inexor Core Client instance.
name string The id of the client instance.
webUserInterface string The name of the web user interface.
acceptingMouseInput boolean false Whether the layer accepts mouse input.
acceptingKeyInput boolean false Whether the layer accepts key input.

hideLayer(instanceId, name)

Hides the layer with the given name on the Inexor Core Client with the given instance id.
Parameters:
Name Type Description
instanceId string The id of the Inexor Core Client instance.
name string The id of the client instance.

reloadLayer(instanceId, name)

Reloads the layer with the given name on the Inexor Core Client with the given instance id.
Parameters:
Name Type Description
instanceId string The id of the Inexor Core Client instance.
name string The id of the client instance.

removeLayer(instanceId, name)

Removes the layer with the given name on the Inexor Core Client with the given instance id.
Parameters:
Name Type Description
instanceId string The id of the Inexor Core Client instance.
name string The id of the client instance.

setAcceptingKeyInput(instanceId, name, acceptingKeyInput)

Changes if the layer with the given name on the Inexor Core Client with the given instance id is accepting key input.
Parameters:
Name Type Description
instanceId string The id of the Inexor Core Client instance.
name string The id of the client instance.
acceptingKeyInput boolean If true, the layer accepts mouse input, else the layer ignores key input.

setAcceptingMouseInput(instanceId, name, acceptingMouseInput)

Changes if the layer with the given name on the Inexor Core Client with the given instance id is accepting mouse input.
Parameters:
Name Type Description
instanceId string The id of the Inexor Core Client instance.
name string The id of the client instance.
acceptingMouseInput boolean If true, the layer accepts mouse input, else the layer ignores mouse input.

setDependencies()

Sets the dependencies from the application context.

setLayerUrl(instanceId, name, url)

Sets the URL of the layer with the given name on the Inexor Core Client with the given instance id.
Parameters:
Name Type Description
instanceId string The id of the Inexor Core Client instance.
name string The id of the client instance.
url string The URL the set

showLayer(instanceId, name)

Shows the layer with the given name on the Inexor Core Client with the given instance id.
Parameters:
Name Type Description
instanceId string The id of the Inexor Core Client instance.
name string The id of the client instance.