Class: ActionComposerToggleInspector

Kekule.Editor. ActionComposerToggleInspector

new ActionComposerToggleInspector(composer)

Action to show or hide adv panel (object inspector and tree view) of composer.
Parameters:
Name Type Description
composer Kekule.Editor.Composer Target composer widget.
Source:

Extends

Methods

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

update()

Update the state (enabled, visible and so on) of action.
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. ActionComposerToggleInspector

new ActionComposerToggleInspector()

Source:

Methods

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

update()

Update the state (enabled, visible and so on) of action.
Inherited From:
Source:

Events

execute

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