Class: Base

Kekule.Editor.ObjModifier. Base

new Base(editor)

A special object to create widget to modify an chem object in a user friendly way in chem editor.
Parameters:
Name Type Description
editor Kekule.Editor.BaseEditor
Properties:
Name Type Description
editor Kekule.Editor.BaseEditor
targetObjs Array Objects that selected in editor and can be modified by this modifier.
widget Kekule.Widget.BaseWidget The concrete modifier widget.
Source:

Extends

  • ObjectEx

Methods

applyToTargets()

Change properties of target objects based on this widget.
Source:

getModifierName()

Returns a name that represent this modifier. Descendants may override this method.
Source:

initialize()

Source:

loadFromTargets()

Load corresponding value from targets, update the outlook of modifier widget.
Source:

modifierWidgetValueChanged()

Called whether modifier widget is changed and the changes should be applied to target objects in editor.
Source: