Class: ActionManager

Kekule. ActionManager

new ActionManager()

A util to manager all named actions for special widgets.
Source:

Methods

(static) getActionClassOfName(name, widgetOrClass, checkSupClasses) → {Class}

Returns action class associated with name for a specific widget class.
Parameters:
Name Type Description
name String
widgetOrClass Variant Widget instance of widget class.
checkSupClasses Bool When true, if action is not found in current widget class, super classes will also be checked.
Source:
Returns:
Type
Class

(static) registerNamedActionClass(name, actionClass, targetWidgetClass)

Register a named action to a special widget class.
Parameters:
Name Type Description
name String
actionClass Class
targetWidgetClass Class
Source:

(static) unregisterNamedActionClass(name, targetWidgetClass)

Unregister a named action from a special widget class.
Parameters:
Name Type Description
name String
targetWidgetClass Class
Source: