edu.sdsc.mbt.viewables
Class BondLabelByDistance

java.lang.Object
  extended byedu.sdsc.mbt.viewables.BondLabelByDistance
All Implemented Interfaces:
BondLabel

public class BondLabelByDistance
extends java.lang.Object
implements BondLabel

This class implements the BondLabel interface by producing a string label based upon the Bond atom's distance..

Author:
John L. Moreland
See Also:
BondLabel, Bond

Field Summary
static java.lang.String NAME
           
 
Method Summary
static BondLabelByDistance create()
          Return the singleton instance of this class.
 java.lang.String getBondLabel(Bond bond)
          Produce a label based upon the bond atom distance.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values
Method Detail

create

public static BondLabelByDistance create()
Return the singleton instance of this class.


getBondLabel

public java.lang.String getBondLabel(Bond bond)
Produce a label based upon the bond atom distance.

Specified by:
getBondLabel in interface BondLabel