Namespace: Kekule

Kekule

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
NONAROMATIC Not an aromatic ring.
EXPLICIT_AROMATIC An aromatic ring.
ANTIAROMATIC An anti-aromatic ring.
UNCERTAIN Uncertain, maybe aromatic. For example, there is a variable atom on ring so that the pi electron number can not be exactly calculated.
Source:

(static) canonicalizer

A singleton instance of Kekule.Canonicalizer.
Source:

(static) ChemObjInteractMode

Enumeration of interaction types of chem objects in editor.
Properties:
Name Type Description
DEFAULT
UNMOVABLE
UNSELECTABLE
HIDDEN A 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_LEADING
CT_ATOM_SYMBOL_FOLLOWING
CT_CHARGE_SYMBOL
CT_NUMBER
CT_BRACKET_LEADING
CT_BRACKET_TAILING
CT_SEPARATOR
CT_UNKNOWN
Source:

(static) ChemWidget :namespace

Namespace for chem widgets.
Type:
  • namespace
Source:

(static) ComparisonMethod

Enumeration of comparison method for Kekule.ChemObject.compare method.
Properties:
Name Type Description
DEFAULT Use default behavior. Different object may have different behaviors.
PROPERTIES
CHEM_STRUCTURE Compare 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
NONMETAL
METAL
ALKALI_METAL
ALKALI_EARTH_METAL
TRANSITION_METAL
METALLOID
HALOGEN
NOBLE_GAS
LANTHANIDE
ACTINIDE
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_FIRST Depth first.
BREADTH_FIRST Breadth 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
CLOCKWISE
ANTICLOCKWISE
UNKNOWN
Source:

(static) ScriptFileUtils

Utils to handle JavaScript file.
Source:

(static) StereoParity

Enumeration of stereo parity of node or connector.
Properties:
Name Type Description
NONE
ODD
EVEN
UNKNOWN
Source:

(static) StructureComparationLevel

Enumeration of comparation of chem structure.
Properties:
Name Type Description
SKELETAL Compare only topological graph, atom/bond details are ignored.
CONSTITUTION Compare only constitution, ignore stereo factors and charge.
CONFIGURATION Compare with stereo factors but ignore atom mass number and charge.
EXACT Compare with stereo factors and mass number / charge.
DEFAULT Default 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
e Variant
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: