Class: BaseEditorIaController

Kekule.Editor. BaseEditorIaController

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.
Source:

Extends

  • Kekule.Widget.InteractionController

Methods

getDefId()

Returns the preferred id for this controller.
Source:

getEditor() → {Kekule.ChemWidget.BaseEditor}

Return associated editor.
Source:
Returns:
Type
Kekule.ChemWidget.BaseEditor

getEditorConfigs() → {Object}

Get config object of editor.
Source:
Returns:
Type
Object

hotTrackOnObj(obj)

Show a hot track marker on obj in editor.
Parameters:
Name Type Description
obj Kekule.ChemObject
Source:

setEditor(editor)

Set associated editor.
Parameters:
Name Type Description
editor Kekule.ChemWidget.BaseEditor
Source:

Kekule.Editor. BaseEditorIaController

new BaseEditorIaController()

Source:

Methods

getDefId()

Returns the preferred id for this controller.
Source:

getEditor() → {Kekule.ChemWidget.BaseEditor}

Return associated editor.
Source:
Returns:
Type
Kekule.ChemWidget.BaseEditor

getEditorConfigs() → {Object}

Get config object of editor.
Source:
Returns:
Type
Object

hotTrackOnObj(obj)

Show a hot track marker on obj in editor.
Parameters:
Name Type Description
obj Kekule.ChemObject
Source:

setEditor(editor)

Set associated editor.
Parameters:
Name Type Description
editor Kekule.ChemWidget.BaseEditor
Source: