| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectchemaxon.struc.CGraph
chemaxon.struc.MoleculeGraph
chemaxon.struc.SelectionMolecule
A selection object derived from Molecule's ancestor.
| Field Summary | 
| Fields inherited from class chemaxon.struc.MoleculeGraph | 
DIM_MASK, flags, isMultiChiral, orix, oriy, oriz, RMCLEANUP_STEREO | 
| Fields inherited from class chemaxon.struc.CGraph | 
btab, ctab, edgeCount, edges, fragIds, grinv, grinvCC, INITIAL_CAPACITY, nFrags, nGrinv, nodeCount, nodes, parentGraph, RMCLEANUP_ALL, RMCLEANUP_EDGES, RMCLEANUP_NONE, sssr, superGraph | 
| Fields inherited from interface chemaxon.struc.StereoConstants | 
ATOMSTEREO_EITHER, ATOMSTEREO_MASK, ATOMSTEREO_NONE, ATOMSTEREO_SPECIFIC, CHIRALITY_MASK, CHIRALITY_R, CHIRALITY_S, CHIRALITYSUPPORT_ALL, CHIRALITYSUPPORT_NONE, CHIRALITYSUPPORT_SELECTED, CIS, CTUMASK, CTUNKNOWN, CTUNSPEC, DBS_ALL, DBS_MARKED, DBS_NONE, PARITY_EITHER, PARITY_EVEN, PARITY_MASK, PARITY_ODD, PARITY_UNSPEC, STGRP_ABS, STGRP_AND, STGRP_NONE, STGRP_OR, TRANS | 
| Constructor Summary | |
SelectionMolecule()
 | 
|
| Method Summary | |
 void | 
add(CEdge edge)
Adds an edge to the graph.  | 
protected  void | 
addEdge0(CEdge edge)
Adds an edge.  | 
protected  void | 
addNode0(CNode node)
Adds a node.  | 
 java.lang.Object | 
clone()
Create a clone of the selection.  | 
 void | 
clonecopy(CGraph graph)
Copies the clones of nodes and edges of this graph to another one.  | 
protected  void | 
fuse0(CGraph graph)
Adds those nodes and edges of a graph to this one that are not already elements.  | 
protected  boolean | 
isRealNodeParent()
Selection molecules are not real node parents.  | 
 void | 
removeEdge(CEdge edge)
Removes an edge by reference.  | 
 void | 
removeEdge(int i)
Removes an edge from the graph.  | 
 void | 
removeNode(CNode node)
Removes a node and its edges.  | 
 void | 
removeNode(int i)
Removes a node and its edges from the graph.  | 
protected  void | 
setEdge0(int i,
         CEdge edge)
Sets the edge at the specified index.  | 
protected  void | 
setNode0(int i,
         CNode node)
Sets the node at the specified index.  | 
 void | 
swapNodes(int i,
          int j)
Swap two nodes.  | 
 void | 
transform(CTransform3D t)
Apply a transformation matrix to the atomic coordinates.  | 
| Methods inherited from class chemaxon.struc.CGraph | 
add, addEdgeWithoutChangingIt, addNodeWithoutChangingIt, contains, findFrag, findFrags, fuse, getBtab, getCtab, getEdge, getEdgeCount, getEdgeVector, getForefather, getFragCount, getFragIds, getGrinv, getGrinvCC, getLock, getNode, getNodeCount, getNodeVector, getParent, getSSSR, indexOf, indexOf, isEmpty, mergeNodes, pack, regenEdges, removeAll, removeAllEdges, removeEdge, removeEdge, resetCtab, resetGrinvInParents, setEdge, setNode, toString | 
| Methods inherited from class java.lang.Object | 
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public SelectionMolecule()
| Method Detail | 
protected boolean isRealNodeParent()
isRealNodeParent in class CGraph
protected void setEdge0(int i,
                        CEdge edge)
i - edge indexedge - the edge referencepublic void add(CEdge edge)
add in class CGraphedge - the edge object
public void swapNodes(int i,
                      int j)
i - index of the first nodej - index of the second nodepublic void removeNode(CNode node)
removeNode in class CGraphnode - the nodepublic void removeNode(int i)
removeNode in class CGraphi - the node indexpublic void removeEdge(CEdge edge)
removeEdge in class CGraphedge - the edgepublic void removeEdge(int i)
removeEdge in class CGraphi - the edge indexprotected void addNode0(CNode node)
addNode0 in class CGraphnode - the node reference
protected void setNode0(int i,
                        CNode node)
setNode0 in class CGraphi - node indexnode - new node referenceprotected void addEdge0(CEdge edge)
addEdge0 in class CGraphedge - the edge referenceprotected void fuse0(CGraph graph)
fuse0 in class CGraphgraph - the graphpublic void transform(CTransform3D t)
transform in class MoleculeGrapht - the transformation matrixpublic void clonecopy(CGraph graph)
clonecopy in class MoleculeGraphgraph - the target graphpublic java.lang.Object clone()
clone in class MoleculeGraph
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||