Skip to content
This repository has been archived by the owner on Mar 14, 2021. It is now read-only.

Exomia.CEF.Interaction

Daniel Baetz edited this page Mar 13, 2020 · 13 revisions

IJsUiActions

Interface to communicate with the c# backend.

public interface Exomia.CEF.Interaction.IJsUiActions

Methods

void Trigger(Int32 key, Object[] args)

Summary:

[vue-ui] call this function to trigger actions bound to the key value.

Parameter:

  • key - The key.
  • args - A variable-length parameters list containing arguments.


IJsUiStore

Interface for js user interface store.

public interface Exomia.CEF.Interaction.IJsUiStore

Methods

IDictionary GetState(String moduleName)

Summary:

[vue-ui] call this function to retrieve a state of the given module by name.

Parameter:

  • moduleName - The module name to get the state from


IUiActionHandler

Interface for user interface action handling.

public interface Exomia.CEF.Interaction.IUiActionHandler

Events

TriggerHandler Trigger

Summary:

Occurs when a trigger is invoked from javascript code.



UiActions

An ui action class. This class cannot be inherited.

public class Exomia.CEF.Interaction.UiActions
    : IJsUiActions, IUiActionHandler, IDisposable

Constructors

    .ctor UiActions()

Methods

void Dispose()

Summary:

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged/managed resources.


void Trigger(Int32 key, Object[] args)

Summary:

[vue-ui] call this function to trigger actions bound to the key value.

Parameter:

  • key - The key.
  • args - A variable-length parameters list containing arguments.


UiInputWrapper

An input wrapper. This class cannot be inherited.

public class Exomia.CEF.Interaction.UiInputWrapper
    : IUiInputWrapper, IInputHandler

Constructors

.ctor UiInputWrapper(IBrowserHost host)

Summary:

Initializes a new instance of the class.

Parameter:

  • host - The host.


Methods

void RegisterInput(IInputDevice device)

Summary:

Registers the input described by device.

Parameter:

  • device - The device.

void RemoveFlag(Int32 flag)

Summary:

[vue-ui] call this function to enable input forwarding, for a specific flag.

Parameter:

  • flag - the flag to remove.

Remarks:

    flags:

        KEY_DOWN = 1,

        KEY_UP = 2,

        KEY_PRESS = 4,

        KEY_EVENT = 8,

        KEY_ALL = 15,

        MOUSE_DOWN = 16,

        MOUSE_UP = 32,

        MOUSE_CLICK = 64,

        MOUSE_MOVE = 128,

        MOUSE_WHEEL = 256,

        MOUSE_ALL = 496,

        ALL = 511.


void SetFlag(Int32 flag)

Summary:

[vue-ui] call this function to disable input forwarding, for a specific flag.

Parameter:

  • flag - the flag to set.

Remarks:

    flags:

        KEY_DOWN = 1,

        KEY_UP = 2,

        KEY_PRESS = 4,

        KEY_EVENT = 8,

        KEY_ALL = 15,

        MOUSE_DOWN = 16,

        MOUSE_UP = 32,

        MOUSE_CLICK = 64,

        MOUSE_MOVE = 128,

        MOUSE_WHEEL = 256,

        MOUSE_ALL = 496,

        ALL = 511.


void UnregisterInput(IInputDevice device)

Summary:

Unregister the input described by device.

Parameter:

  • device - The device.