Class pmr.cml.BONDSNode
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pmr.cml.BONDSNode

java.lang.Object
   |
   +----pmr.sgml.SGMLNode
           |
           +----pmr.sgml.DrawableSGMLNode
                   |
                   +----pmr.cml.DrawableX_Node
                           |
                           +----pmr.cml.BONDSNode

public class BONDSNode
extends DrawableX_Node
implements SubAddressable
BONDS holds arrays of bond information - for all bonds

Bonds are not drawable by themselves, but they are SubAddressable (i.e. any bond can be extracted by another routine (e.g. MOLNode))


Variable Index

 o AROMATIC
bond orders normalised (to some extent) - values are irrelevant

Constructor Index

 o BONDSNode(String, SGMLTree)
normal constructor

Method Index

 o addSubAddress(IntRange)
 o addSubAddresses(IntRangeVector)
 o clearSubAddresses()
 o debug()
for debug
 o display()
Kicks off a ScrollableTopLevel which contains the object.
 o getBondCount()
 o getHighlightedBonds()
 o getSubAddresses()
 o highlightSubAddresses(boolean)
 o mayContain(SGMLNode)
can this node contain others.
 o process()
complex objects may require processing; override this.
 o showHelp()
display Help (includes MOL and ATOMS )

Variables

 o AROMATIC
  public final static int AROMATIC
bond orders normalised (to some extent) - values are irrelevant

Constructors

 o BONDSNode
  public BONDSNode(String giName,
                   SGMLTree tree)
normal constructor

Methods

 o showHelp
  public void showHelp()
display Help (includes MOL and ATOMS )
Overrides:
showHelp in class DrawableX_Node
 o getBondCount
  public int getBondCount()
 o mayContain
  public boolean mayContain(SGMLNode n)
can this node contain others.
Overrides:
mayContain in class DrawableX_Node
 o process
  public void process()
complex objects may require processing; override this.
Overrides:
process in class DrawableSGMLNode
 o clearSubAddresses
  public void clearSubAddresses()
 o addSubAddress
  public void addSubAddress(IntRange ir)
 o addSubAddresses
  public void addSubAddresses(IntRangeVector irv)
 o getSubAddresses
  public IntRangeVector getSubAddresses()
 o highlightSubAddresses
  public void highlightSubAddresses(boolean onOff)
 o getHighlightedBonds
  public IntSet getHighlightedBonds()
 o display
  public void display()
Kicks off a ScrollableTopLevel which contains the object.
Overrides:
display in class DrawableSGMLNode
 o debug
  public void debug()
for debug
Overrides:
debug in class DrawableX_Node

All Packages  Class Hierarchy  This Package  Previous  Next  Index