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