|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.sdsc.mbt.viewables.AtomRadiusByConstant
This class implements the AtomRadius interface by applying a radius to the given an Atom by using the radius of the bond.
AtomRadius
,
Atom
,
PeriodicTable
,
Element
,
Field Summary | |
static java.lang.String |
NAME
|
Method Summary | |
static AtomRadiusByConstant |
create()
Return the singleton instance of this class. |
double |
getAtomRadius(Atom atom)
Produce a radius based upon the atom element type. |
double |
getRadius()
Get the constant radius. |
void |
setRadius(double radius)
Set the constant radius. |
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 AtomRadiusByConstant create()
public double getAtomRadius(Atom atom)
getAtomRadius
in interface AtomRadius
public void setRadius(double radius)
public double getRadius()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |