Class: ComposerObjModifierToolbar

Kekule.Editor. ComposerObjModifierToolbar

new ComposerObjModifierToolbar(composer)

The style toolbar for composer.
Parameters:
Name Type Description
composer Kekule.Editor.Composer Parent composer.
Properties:
Name Type Description
composer Kekule.Editor.Composer Parent composer.
components Array Array of component names that shows in tool bar.
Source:

Extends

  • Kekule.Widget.Toolbar

Methods

getModifierInstanceOfClass(modifierClass, autoCreate) → {Kekule.Editor.ObjModifier.Base}

Return a cached or newly created modifier instance of class.
Parameters:
Name Type Description
modifierClass Class
autoCreate Bool
Source:
Returns:
Type
Kekule.Editor.ObjModifier.Base

updateModifierValues()

Refresh modifier widget according to current state of selection in editor.
Source:

updateModifierWidgets()

Refresh displayed modifier widgets on toolbar.
Source:

updateState()

Update toolbar and child widget outlook and other settings according to editor's state.
Source:

Kekule.Editor. ComposerObjModifierToolbar

new ComposerObjModifierToolbar()

Source:

Methods

getModifierInstanceOfClass(modifierClass, autoCreate) → {Kekule.Editor.ObjModifier.Base}

Return a cached or newly created modifier instance of class.
Parameters:
Name Type Description
modifierClass Class
autoCreate Bool
Source:
Returns:
Type
Kekule.Editor.ObjModifier.Base

updateModifierValues()

Refresh modifier widget according to current state of selection in editor.
Source:

updateModifierWidgets()

Refresh displayed modifier widgets on toolbar.
Source:

updateState()

Update toolbar and child widget outlook and other settings according to editor's state.
Source: