|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.sdsc.mbt.viewables.BondRadiusAsStick
This class implements the BondRadius interface by applying a fixed radius representing the width IN PIXELS of the wireframe bond.
BondRadius
,
Bond
Field Summary | |
static java.lang.String |
NAME
|
Method Summary | |
static BondRadiusAsStick |
create()
Return the singleton instance of this class. |
double |
getBondRadius(Bond bond)
Produce the primary radius (in pixel units) as a constant value. |
double |
getSplitBondRadius(Bond bond)
Produce the secondary radius (in pixel units) as a constant value. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String NAME
Method Detail |
public static BondRadiusAsStick create()
public double getBondRadius(Bond bond)
getBondRadius
in interface BondRadius
public double getSplitBondRadius(Bond bond)
getSplitBondRadius
in interface BondRadius
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |