new FormulaIaController()
Controller to add or edit formula based molecule in document.
Extends
Methods
-
getDefId()
-
Returns the preferred id for this controller.
- Inherited From:
- Source:
-
getEditor() → {Kekule.ChemWidget.BaseEditor}
-
Return associated editor.
- Inherited From:
- Source:
Returns:
- Type
- Kekule.ChemWidget.BaseEditor
-
getEditorConfigs() → {Object}
-
Get config object of editor.
- Inherited From:
- Source:
Returns:
- Type
- Object
-
hotTrackOnObj(obj)
-
Show a hot track marker on obj in editor.
Parameters:
Name Type Description obj
Kekule.ChemObject -
initialize()
-
openSetterUi(coord, mol)
-
Open formula edit box in coord.
Parameters:
Name Type Description coord
Hash mol
Object -
setEditor(editor)
-
Set associated editor.
Parameters:
Name Type Description editor
Kekule.ChemWidget.BaseEditor - Inherited From:
- Source: