new BaseEditorIaController(editor)
Base Controller class for editor.
Parameters:
Name | Type | Description |
---|---|---|
editor |
Kekule.Editor.BaseEditor | Editor of current object being installed to. |
Properties:
Name | Type | Description |
---|---|---|
manuallyHotTrack |
Bool | If set to false, hot track will be auto shown in mousemove event listener. |
Extends
- Kekule.Widget.InteractionController
Methods
-
getDefId()
-
Returns the preferred id for this controller.
-
getEditor() → {Kekule.ChemWidget.BaseEditor}
-
Return associated editor.
Returns:
- Type
- Kekule.ChemWidget.BaseEditor
-
getEditorConfigs() → {Object}
-
Get config object of editor.
Returns:
- Type
- Object
-
hotTrackOnObj(obj)
-
Show a hot track marker on obj in editor.
Parameters:
Name Type Description obj
Kekule.ChemObject -
setEditor(editor)
-
Set associated editor.
Parameters:
Name Type Description editor
Kekule.ChemWidget.BaseEditor