Root namespace of Kekule library.
- Source:
Classes
- AbstractAtom
- AbstractAtom
- AbstractConfigs
- AbstractConfigs
- Action
- ActionFileSave
- ActionList
- ActionManager
- ArrayUtils
- Atom
- Atom
- AtomType
- BaseStructureConnector
- BaseStructureConnector
- BaseStructureNode
- BaseStructureNode
- Bond
- Bond
- BondForm
- BondForm
- BondFormFactory
- BondOrder
- BondStereo
- BondType
- BoxUtils
- CanonicalizationConnectorConnectedObjsSorter
- CanonicalizationConnectorSorter
- CanonicalizationCustomExecutor
- CanonicalizationGeneralConnectorConnectedObjsSorter
- CanonicalizationGeneralConnectorSorter
- CanonicalizationIndexer
- CanonicalizationIndexer
- CanonicalizationMorganExIndexer
- CanonicalizationMorganIndexer
- CanonicalizationMorganNodeSorter
- CanonicalizationNodeSorter
- Canonicalizer
- Canonicalizer
- ChemDocument
- ChemError
- ChemObject
- ChemObject
- ChemObjList
- ChemObjList
- ChemSpace
- ChemSpace
- ChemSpaceElement
- ChemSpaceElement
- ChemStructObjContainer
- ChemStructObjContainer
- ChemStructureBuilder
- ChemStructureBuilder
- ChemStructureConnector
- ChemStructureNode
- ChemStructureNode
- ChemStructureNodeFactory
- ChemStructureNodeLabels
- ChemStructureObjectGroup
- ChemStructureObjectGroup
- ChemStructureSearcher
- ChemStructureUtils
- ChemTextAnalyzer
- ClassDefineUtils
- ClassUtils
- CompositeMolecule
- CompositeMolecule
- ConfigPresetMap
- ConfigPresetMap
- ContentBlock
- ContentBlock
- CoordMode
- CoordUtils
- DataBingItem
- DataBingItem
- DomHelper
- DomHelper
- ElectronSet
- ElectronSet
- Element
- Element
- Error
- Exception
- ExceptionHandler
- ExceptionLevel
- FactoryUtils
- FormulaUtils
- GeometryUtils
- Graph
- Graph
- GraphAdaptUtils
- GraphAlgorithmUtils
- GraphEdge
- GraphEdge
- GraphElement
- GraphElement
- GraphVertex
- GraphVertex
- HashEx
- HashEx
- HybridizationType
- ImageBlock
- ImageBlock
- Isotope
- Isotope
- IsotopeFactory
- MacroOperation
- MacroOperation
- MapEx
- MapEx
- MatrixUtils
- Mdl3kTextBuffer
- MolecularFormula
- MolecularFormula
- Molecule
- Molecule
- MoleculeGroup
- MoleculeList
- MoleculeList
- MolStandardizer
- MolStereoUtils
- NumUtils
- ObjComparer
- ObjPropSettingManager
- ObjUtils
- Operation
- Operation
- OperationHistory
- PredefinedResLoader
- PredefinedResLoader
- PredefinedResReferer
- Pseudoatom
- Pseudoatom
- PseudoatomType
- RadicalOrder
- Reaction
- ReactionComponent
- ReactionList
- ReactionList
- ReactionRole
- RectUtils
- RoleMapUtils
- Scalar
- StructureConnectionTable
- StructureConnectionTable
- StructureFragment
- StructureFragment
- StructureFragmentGroup
- StructureFragmentShadow
- StrUtils
- SubGroup
- SubGroup
- TextBlock
- TextBlock
- TextLinesBuffer
- TextLinesBuffer
- TokenAnalyzer
- TokenAnalyzer
- TwoTupleMapEx
- TwoTupleMapEx
- UnbondedElectronSet
- UnbondedElectronSet
- ValenceUtils
- VariableAtom
- ZoomUtils
Namespaces
- Calculator
- ChemMarker
- ChemObjOperation
- ChemStructOperation
- Editor
- Glyph
- IO
- PropertyEditor
- Render
- Widget
Members
-
(static) $document
-
Root document of JavaScript environment. Can be null in Node.js.
- Source:
-
(static) $jsRoot
-
Root object of JavaScript environment, usually window.
- Source:
-
(static) AromaticTypes
-
Enumeration of aromatic detection types, aromatic(4n+2), antiaromatic(4n) or non aromatic
Properties:
Name Type Description NONAROMATICNot an aromatic ring. EXPLICIT_AROMATICAn aromatic ring. ANTIAROMATICAn anti-aromatic ring. UNCERTAINUncertain, maybe aromatic. For example, there is a variable atom on ring so that the pi electron number can not be exactly calculated. -
(static) canonicalizer
-
A singleton instance of Kekule.Canonicalizer.
-
(static) ChemObjInteractMode
-
Enumeration of interaction types of chem objects in editor.
Properties:
Name Type Description DEFAULTUNMOVABLEUNSELECTABLEHIDDENA uninteractive object, can not be selected or moved alone - Source:
-
(static) ChemTextTypes
-
Enumeration of chem text token type.
Properties:
Name Type Description CT_ATOM_SYMBOL_LEADINGCT_ATOM_SYMBOL_FOLLOWINGCT_CHARGE_SYMBOLCT_NUMBERCT_BRACKET_LEADINGCT_BRACKET_TAILINGCT_SEPARATORCT_UNKNOWN- Source:
-
(static) ChemWidget :namespace
-
Namespace for chem widgets.
Type:
- namespace
-
(static) ComparisonMethod
-
Enumeration of comparison method for Kekule.ChemObject.compare method.
Properties:
Name Type Description DEFAULTUse default behavior. Different object may have different behaviors. PROPERTIESCHEM_STRUCTURECompare only chemistry structures. - Source:
-
(static) DataSrcAttribUtils
-
Utils to handle 'url(XXXX)' type of attribute value. it may has three format content directly url(http://...) url(#id)
- Source:
-
(static) DocumentUtils
-
Utils on document.
- Source:
-
(static) DomUtils
-
An class with static methods handle HTML or XML DOM.
- Source:
-
(static) ElementSeries
-
Enumeration of series of element.
Properties:
Name Type Description NONMETALMETALALKALI_METALALKALI_EARTH_METALTRANSITION_METALMETALLOIDHALOGENNOBLE_GASLANTHANIDEACTINIDE- Source:
-
(static) globalOptions
-
An root object to store default options for many operations (e.g., ring search, stereo perception). User can modify concrete options to change the default action of some functions.
- Source:
-
(static) GraphTraverseMode
-
Enumeration of traverse mode of graph
Properties:
Name Type Description DEPTH_FIRSTDepth first. BREADTH_FIRSTBreadth first. - Source:
-
(static) HtmlElementUtils
-
Utils methods for HTML elements.
- Source:
-
(static) NativeServices
-
The class to call native services (e.g., open file picker dialog).
- Source:
-
(static) RadicalType
-
- Source:
-
(static) ReactionDirection
-
Enumeration of reaction direction.
- Source:
-
(static) RotationDir
-
Enumeration of rotation directions.
Properties:
Name Type Description CLOCKWISEANTICLOCKWISEUNKNOWN -
(static) ScriptFileUtils
-
Utils to handle JavaScript file.
- Source:
-
(static) StereoParity
-
Enumeration of stereo parity of node or connector.
Properties:
Name Type Description NONEODDEVENUNKNOWN- Source:
-
(static) StructureComparationLevel
-
Enumeration of comparation of chem structure.
Properties:
Name Type Description SKELETALCompare only topological graph, atom/bond details are ignored. CONSTITUTIONCompare only constitution, ignore stereo factors and charge. CONFIGURATIONCompare with stereo factors but ignore atom mass number and charge. EXACTCompare with stereo factors and mass number / charge. DEFAULTDefault comparation level. - Source:
-
(static) StyleUtils
-
Util methods about CSS and style values.
- Source:
-
(static) UrlUtils
-
Class to help to manipulate URL and file names
- Source:
Methods
-
(static) chemError()
-
Throw an Kekule.ChemError in ExceptionHandler.
- Source:
-
(static) error()
-
Throw an Kekule.Error in ExceptionHandler.
- Source:
-
(static) getExceptionMsg(e) → {String}
-
Returns the message of exception object or string.
Parameters:
Name Type Description eVariant - Source:
Returns:
- Type
- String
-
(static) hasLocalRes() → {Bool}
-
Check if localization resource is imported and available. If it returns true, l10n constants can be used.
- Source:
Returns:
- Type
- Bool
-
(static) log(e)
-
Raise a log message.
Parameters:
Name Type Description e- Source:
-
(static) notify(e)
-
Raise a informative hint message.
Parameters:
Name Type Description e- Source:
-
(static) oneOf()
-
Return value of the first setted params.
- Source:
-
(static) raise()
-
Throw an exception in ExceptionHandler, same as Kekule.ExceptionHandler.throwException
- Source:
-
(static) throwException()
-
Throw an exception in ExceptionHandler, same as Kekule.ExceptionHandler.throwException
- Source:
-
(static) warn(e)
-
Raise a warning message (but do not raise error).
Parameters:
Name Type Description e- Source: