|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.sdsc.mbt.util.ElementProperties
Field Summary | |
static int |
LINEAR
|
static int |
OCTAHEDRAL
|
static int |
TETRAHEDRAL
|
static int |
TRIGONAL
|
static int |
TRIGONAL_BIPYRAMIDAL
|
Constructor Summary | |
ElementProperties()
|
Method Summary | |
static double |
getAtomRadius(int number)
Get the radius of the given element number. |
static double |
getAtomRadius(short index)
|
static double |
getAtomRadius(java.lang.String name)
Get the radius of the given element name. |
static VectorSet |
getBondGeometry(Atom atom)
|
static double |
getBondLength(int e1,
int e2)
|
static double |
getBondLength(short e1,
short e2)
|
static float[] |
getElementColor(int number)
Get the RGB color of the given element number. |
static float[] |
getElementColor(java.lang.String name)
Get the RGB color of the given element name. |
static int |
getElementCount()
Get the number of elements for which style information is represented by this class. |
static int[] |
getElementValency(int number)
|
static int[] |
getElementValency(short index)
|
static int[] |
getElementValency(java.lang.String symbol)
|
static double |
getIonRadius(int number)
|
static void |
setAtomRadius(int number,
double radius)
Set the radius of the given element number. |
static void |
setAtomRadius(java.lang.String name,
double radius)
Set the radius of the given element name. |
static void |
setDefaultElementColors()
Sets element colors to their default values |
static void |
setElementColor(int number,
float r,
float g,
float b)
Set the RGB color of the given element number. |
static void |
setElementColor(java.lang.String name,
float r,
float g,
float b)
Set the RGB color of the given element name. |
static void |
setIonRadius(int number,
double radius)
|
static void |
setIonRadius(java.lang.String name,
double radius)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int LINEAR
public static final int TRIGONAL
public static final int TETRAHEDRAL
public static final int TRIGONAL_BIPYRAMIDAL
public static final int OCTAHEDRAL
Constructor Detail |
public ElementProperties()
Method Detail |
public static int getElementCount()
public static double getBondLength(int e1, int e2)
public static double getBondLength(short e1, short e2)
public static void setElementColor(int number, float r, float g, float b)
public static void setElementColor(java.lang.String name, float r, float g, float b)
public static float[] getElementColor(int number)
public static float[] getElementColor(java.lang.String name)
public static void setAtomRadius(int number, double radius)
public static void setAtomRadius(java.lang.String name, double radius)
public static double getAtomRadius(int number)
public static double getIonRadius(int number)
public static void setIonRadius(java.lang.String name, double radius)
public static void setIonRadius(int number, double radius)
public static double getAtomRadius(java.lang.String name)
public static double getAtomRadius(short index)
public static void setDefaultElementColors()
public static int[] getElementValency(int number)
public static int[] getElementValency(java.lang.String symbol)
public static int[] getElementValency(short index)
public static VectorSet getBondGeometry(Atom atom)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |