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. |
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 Returns:
-
updateModifierValues()
-
Refresh modifier widget according to current state of selection in editor.
-
updateModifierWidgets()
-
Refresh displayed modifier widgets on toolbar.
-
updateState()
-
Update toolbar and child widget outlook and other settings according to editor's state.