Class: ActionComposerSetIaController

Kekule.Editor. ActionComposerSetIaController

new ActionComposerSetIaController(composer, caption, hint, controllerId)

Action to change IA controller of editor/composer.
Parameters:
Name Type Description
composer Kekule.Editor.Composer Target composer widget.
caption String
hint String
controllerId String
Source:

Extends

Methods

addAttachedAction()

Add an attached actions.
Inherited From:
Source:

clearAttachedActions()

Clear all attached actions.
Inherited From:
Source:

execute(target, htmlEvent)

Execute the action.
Parameters:
Name Type Description
target Object Object that invokes this action.
htmlEvent Object HTML event that causes the executing process, can be null.
Inherited From:
Source:

getActionList() → {Kekule.ActionList}

Returns belonged action list.
Inherited From:
Source:
Returns:
Type
Kekule.ActionList

getEditor() → {Kekule.Editor.BaseEditor}

Returns chem editor object inside composer.
Inherited From:
Source:
Returns:
Type
Kekule.Editor.BaseEditor

hasAttachedActions() → {Bool}

Check if there are attached actions to this one.
Inherited From:
Source:
Returns:
Type
Bool

removeAttachedAction()

Remove attached actions.
Inherited From:
Source:

setAttachedActionIndex(action, index)

Set a new position of attached child action.
Parameters:
Name Type Description
action Kekule.Action
index Int
Inherited From:
Source:

Events

execute

Invoked when an action is executed. Has one field: {htmlEvent: html event to raise the action}.
Inherited From:
Source:

Kekule.Editor. ActionComposerSetIaController

new ActionComposerSetIaController()

Source:

Methods

addAttachedAction()

Add an attached actions.
Inherited From:
Source:

clearAttachedActions()

Clear all attached actions.
Inherited From:
Source:

execute(target, htmlEvent)

Execute the action.
Parameters:
Name Type Description
target Object Object that invokes this action.
htmlEvent Object HTML event that causes the executing process, can be null.
Inherited From:
Source:

getActionList() → {Kekule.ActionList}

Returns belonged action list.
Inherited From:
Source:
Returns:
Type
Kekule.ActionList

getEditor() → {Kekule.Editor.BaseEditor}

Returns chem editor object inside composer.
Inherited From:
Source:
Returns:
Type
Kekule.Editor.BaseEditor

hasAttachedActions() → {Bool}

Check if there are attached actions to this one.
Inherited From:
Source:
Returns:
Type
Bool

removeAttachedAction()

Remove attached actions.
Inherited From:
Source:

setAttachedActionIndex(action, index)

Set a new position of attached child action.
Parameters:
Name Type Description
action Kekule.Action
index Int
Inherited From:
Source:

Events

execute

Invoked when an action is executed. Has one field: {htmlEvent: html event to raise the action}.
Inherited From:
Source: