Class: ChemStructObjContainer

Kekule. ChemStructObjContainer

new ChemStructObjContainer()

A container class contains nodes and/or connectors as a "partial structure fragment".
Properties:
Name Type Description
nodes Array All structure nodes in this container.
connectors Array Connectors (usually bonds) in this container.
Source:

Extends

  • ObjectEx

Methods

add(obj)

Add new node or connector into container.
Parameters:
Name Type Description
obj Kekule.ChemStructureObject
Source:

clear()

Clear all nodes and connectors in container.
Source:

remove(obj)

Remove an object from container.
Parameters:
Name Type Description
obj Kekule.ChemStructureObject
Source:

Kekule. ChemStructObjContainer

new ChemStructObjContainer()

Source:

Methods

add(obj)

Add new node or connector into container.
Parameters:
Name Type Description
obj Kekule.ChemStructureObject
Source:

clear()

Clear all nodes and connectors in container.
Source:

remove(obj)

Remove an object from container.
Parameters:
Name Type Description
obj Kekule.ChemStructureObject
Source: