|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<AtomEnum> org.proteinshader.structure.enums.AtomEnum
public enum AtomEnum
Provides an enumeration of atom types: C, H, N, O, S, etc.
Includes the periodic table of the elements from hydrogen (atomic
number 1) to roentgenium (atomic number 111). The IUPAC periodic
table can be found at
http://www.chem.qmul.ac.uk/iupac/AtWt/table.html .
Each AtomEnum has a CPK (Corey, Pauling, and Koltun) color assigned
to it. The color values (red, green, blue, alpha) are on a scale from
0.0 to 1.0, inclusive.
Enum Constant Summary | |
---|---|
AC
Actinium (89) covalent radius = 1.88 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
AG
Silver (47) covalent radius = 1.59 van der Waals radius = 1.72 CPKColorEnum.DARK_GRAY |
|
AL
Aluminium (13) covalent radius = 1.35 van der Waals radius = 2.00 CPKColorEnum.DARK_GRAY |
|
AM
Americium (95) covalent radius = 1.51 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
AR
Argon (18) covalent radius = 1.51 van der Waals radius = 1.88 CPKColorEnum.DEEP_PINK |
|
AS
Arsenic (33) covalent radius = 1.21 van der Waals radius = 1.85 CPKColorEnum.DEEP_PINK |
|
AT
Astatine (85) covalent radius = 1.21 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
AU
Gold (79) covalent radius = 1.50 van der Waals radius = 1.66 CPKColorEnum.GOLDENROD |
|
B
Boron (5) covalent radius = 0.83 van der Waals radius = 2.00 CPKColorEnum.GREEN |
|
BA
Barium (56) covalent radius = 1.34 van der Waals radius = 2.00 CPKColorEnum.ORANGE |
|
BE
Beryllium (4) covalent radius = 0.35 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
BH
Bohrium (107) covalent radius = 1.50 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
BI
Bismuth (83) covalent radius = 1.54 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
BK
Berkelium (97) covalent radius = 1.54 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
BR
Bromine (35) covalent radius = 1.21 van der Waals radius = 1.85 CPKColorEnum.BROWN |
|
C
Carbon (6) covalent radius = 0.68 van der Waals radius = 1.70 CPKColorEnum.LIGHT_GRAY |
|
CA
Calcium (20) covalent radius = 0.99 van der Waals radius = 2.00 CPKColorEnum.DARK_GRAY |
|
CD
Cadmium (48) covalent radius = 1.69 van der Waals radius = 1.58 CPKColorEnum.DEEP_PINK |
|
CE
Cerium (58) covalent radius = 1.83 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
CF
Californium (98) covalent radius = 1.83 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
CL
Chlorine (17) covalent radius = 0.99 van der Waals radius = 1.75 CPKColorEnum.GREEN |
|
CM
Curium (96) covalent radius = 0.99 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
CO
Cobalt (27) covalent radius = 1.33 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
CR
Chromium (24) covalent radius = 1.35 van der Waals radius = 2.00 CPKColorEnum.DARK_GRAY |
|
CS
Caesium (55) covalent radius = 1.67 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
CU
Copper (29) covalent radius = 1.52 van der Waals radius = 1.40 CPKColorEnum.BROWN |
|
DB
Dubnium (105) covalent radius = 1.50 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
DS
Darmstadtium (110) covalent radius = 1.50 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
DY
Dysprosium (66) covalent radius = 1.75 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
ER
Erbium (68) covalent radius = 1.73 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
ES
Einsteinium (99) covalent radius = 1.50 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
EU
Europium (63) covalent radius = 1.99 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
F
Fluorine (9) covalent radius = 0.64 van der Waals radius = 1.47 CPKColorEnum.GOLDENROD |
|
FE
Iron (26) covalent radius = 1.34 van der Waals radius = 2.00 CPKColorEnum.ORANGE |
|
FM
Fermium (100) covalent radius = 1.50 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
FR
Francium (87) covalent radius = 1.50 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
GA
Gallium (31) covalent radius = 1.22 van der Waals radius = 1.87 CPKColorEnum.DEEP_PINK |
|
GD
Gadolinium (64) covalent radius = 1.79 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
GE
Germanium (32) covalent radius = 1.17 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
H
Hydrogen (1) covalent radius = 0.23 van der Waals radius = 1.20 CPKColorEnum.WHITE |
|
HE
Helium (2) covalent radius = 1.50 van der Waals radius = 1.40 CPKColorEnum.PINK |
|
HF
Hafnium (72) covalent radius = 1.57 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
HG
Mercury (80) covalent radius = 1.70 van der Waals radius = 1.55 CPKColorEnum.DEEP_PINK |
|
HO
Holmium (67) covalent radius = 1.74 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
HS
Hassium (108) covalent radius = 1.50 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
I
Iodine (53) covalent radius = 1.40 van der Waals radius = 1.98 CPKColorEnum.PURPLE |
|
IN
Indium (49) covalent radius = 1.63 van der Waals radius = 1.93 CPKColorEnum.DEEP_PINK |
|
IR
Iridium (77) covalent radius = 1.32 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
K
Potassium (19) covalent radius = 1.33 van der Waals radius = 2.75 CPKColorEnum.DEEP_PINK |
|
KR
Krypton (36) covalent radius = 1.50 van der Waals radius = 2.02 CPKColorEnum.DEEP_PINK |
|
LA
Lanthanum (57) covalent radius = 1.87 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
LI
Lithium (3) covalent radius = 0.68 van der Waals radius = 1.82 CPKColorEnum.FIREBRICK |
|
LR
Lawrencium (103) covalent radius = 1.50 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
LU
Lutetium (71) covalent radius = 1.72 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
MD
Mendelevium (101) covalent radius = 1.50 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
MG
Magnesium (12) covalent radius = 1.10 van der Waals radius = 1.73 CPKColorEnum.FOREST_GREEN |
|
MN
Manganese (25) covalent radius = 1.35 van der Waals radius = 2.00 CPKColorEnum.DARK_GRAY |
|
MO
Molybdenum (42) covalent radius = 1.47 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
MT
Meitnerium (109) covalent radius = 1.50 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
N
Nitrogen (7) covalent radius = 0.68 van der Waals radius = 1.55 CPKColorEnum.LIGHT_BLUE |
|
NA
Sodium (11) covalent radius = 0.97 van der Waals radius = 2.27 CPKColorEnum.BLUE |
|
NB
Niobium (41) covalent radius = 1.48 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
ND
Neodymium (60) covalent radius = 1.81 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
NE
Neon (10) covalent radius = 1.50 van der Waals radius = 1.54 CPKColorEnum.DEEP_PINK |
|
NI
Nickel (28) covalent radius = 1.50 van der Waals radius = 1.63 CPKColorEnum.BROWN |
|
NO
Nobelium (102) covalent radius = 1.50 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
NP
Neptunium (93) covalent radius = 1.55 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
O
Oxygen (8) covalent radius = 0.68 van der Waals radius = 1.52 CPKColorEnum.RED |
|
OS
Osmium (76) covalent radius = 1.37 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
P
Phosphorus (15) covalent radius = 1.05 van der Waals radius = 1.80 CPKColorEnum.ORANGE |
|
PA
Protactinium (91) covalent radius = 1.61 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
PB
Lead (82) covalent radius = 1.54 van der Waals radius = 2.02 CPKColorEnum.DEEP_PINK |
|
PD
Palladium (46) covalent radius = 1.50 van der Waals radius = 1.63 CPKColorEnum.DEEP_PINK |
|
PM
Promethium (61) covalent radius = 1.80 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
PO
Polonium (84) covalent radius = 1.68 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
PR
Praseodymium (59) covalent radius = 1.82 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
PT
Platinum (78) covalent radius = 1.50 van der Waals radius = 1.72 CPKColorEnum.DEEP_PINK |
|
PU
Plutonium (94) covalent radius = 1.53 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
RA
Radium (88) covalent radius = 1.90 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
RB
Rubidium (37) covalent radius = 1.47 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
RE
Rhenium (75) covalent radius = 1.35 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
RF
Rutherfordium (104) covalent radius = 1.50 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
RH
Rhodium (45) covalent radius = 1.45 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
RN
Radon (86) covalent radius = 1.50 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
RU
Ruthenium (44) covalent radius = 1.40 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
S
Sulphur (16) covalent radius = 1.02 van der Waals radius = 1.80 CPKColorEnum.SULPHUR_YELLOW (also spelled sulfur) |
|
SB
Antimony (51) covalent radius = 1.46 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
SC
Scandium (21) covalent radius = 1.44 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
SE
Selenium (34) covalent radius = 1.22 van der Waals radius = 1.90 CPKColorEnum.DEEP_PINK |
|
SG
Seaborgium (106) covalent radius = 1.50 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
SI
Silicon (14) covalent radius = 1.20 van der Waals radius = 2.10 CPKColorEnum.GOLDENROD |
|
SM
Samarium (62) covalent radius = 1.80 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
SN
Tin (50) covalent radius = 1.46 van der Waals radius = 2.17 CPKColorEnum.DEEP_PINK |
|
SR
Strontium (38) covalent radius = 1.12 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
TA
Tantalum (73) covalent radius = 1.43 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
TB
Terbium (65) covalent radius = 1.76 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
TC
Technetium (43) covalent radius = 1.35 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
TE
Tellurium (52) covalent radius = 1.47 van der Waals radius = 2.06 CPKColorEnum.DEEP_PINK |
|
TH
Thorium (90) covalent radius = 1.79 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
TI
Titanium (22) covalent radius = 1.47 van der Waals radius = 2.00 CPKColorEnum.DARK_GRAY |
|
TL
Thallium (81) covalent radius = 1.55 van der Waals radius = 1.96 CPKColorEnum.DEEP_PINK |
|
TM
Thulium (69) covalent radius = 1.72 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
U
Uranium (92) covalent radius = 1.58 van der Waals radius = 1.86 CPKColorEnum.DEEP_PINK |
|
V
Vanadium (23) covalent radius = 1.33 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
W
Tungsten (74) covalent radius = 1.37 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
XE
Xenon (54) covalent radius = 1.50 van der Waals radius = 2.16 CPKColorEnum.DEEP_PINK |
|
Y
Yttrium (39) covalent radius = 1.78 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
YB
Ytterbium (70) covalent radius = 1.94 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
|
ZN
Zinc (30) covalent radius = 1.45 van der Waals radius = 1.39 CPKColorEnum.BROWN |
|
ZR
Zirconium (40) covalent radius = 1.56 van der Waals radius = 2.00 CPKColorEnum.DEEP_PINK |
Field Summary | |
---|---|
static double |
BALL_SCALE
The ball radius (for stick-and-ball models) is calculated by multiplying the covalent radius by the BALL_SCALE, which is currently set at 0.2. |
Method Summary | |
---|---|
float |
getAlpha()
Returns the alpha component of the RGBA color on a scale from 0.0 to 1.0, inclusive. |
int |
getAtomicNumber()
Returns the atomic number. |
double |
getBallRadius()
Returns a ball radius for use in stick-and-ball type models. |
float |
getBlue()
Returns the blue component of the RGBA color on a scale from 0.0 to 1.0, inclusive. |
double |
getCovalentRadius()
Returns the covalent radius for the Atom, which should be useful for predicting Bonds with other Atoms. |
float |
getGreen()
Returns the green component of the RGBA color on a scale from 0.0 to 1.0, inclusive. |
String |
getName()
Returns the name of the atom. |
float |
getRed()
Returns the red component of the RGBA color on a scale from 0.0 to 1.0, inclusive. |
double |
getVanDerWaalsRadius()
Returns the van der Waals radius for the Atom, which should be useful for representing the Atom as a sphere. |
static AtomEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AtomEnum[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AtomEnum H
public static final AtomEnum HE
public static final AtomEnum LI
public static final AtomEnum BE
public static final AtomEnum B
public static final AtomEnum C
public static final AtomEnum N
public static final AtomEnum O
public static final AtomEnum F
public static final AtomEnum NE
public static final AtomEnum NA
public static final AtomEnum MG
public static final AtomEnum AL
public static final AtomEnum SI
public static final AtomEnum P
public static final AtomEnum S
public static final AtomEnum CL
public static final AtomEnum AR
public static final AtomEnum K
public static final AtomEnum CA
public static final AtomEnum SC
public static final AtomEnum TI
public static final AtomEnum V
public static final AtomEnum CR
public static final AtomEnum MN
public static final AtomEnum FE
public static final AtomEnum CO
public static final AtomEnum NI
public static final AtomEnum CU
public static final AtomEnum ZN
public static final AtomEnum GA
public static final AtomEnum GE
public static final AtomEnum AS
public static final AtomEnum SE
public static final AtomEnum BR
public static final AtomEnum KR
public static final AtomEnum RB
public static final AtomEnum SR
public static final AtomEnum Y
public static final AtomEnum ZR
public static final AtomEnum NB
public static final AtomEnum MO
public static final AtomEnum TC
public static final AtomEnum RU
public static final AtomEnum RH
public static final AtomEnum PD
public static final AtomEnum AG
public static final AtomEnum CD
public static final AtomEnum IN
public static final AtomEnum SN
public static final AtomEnum SB
public static final AtomEnum TE
public static final AtomEnum I
public static final AtomEnum XE
public static final AtomEnum CS
public static final AtomEnum BA
public static final AtomEnum LA
public static final AtomEnum CE
public static final AtomEnum PR
public static final AtomEnum ND
public static final AtomEnum PM
public static final AtomEnum SM
public static final AtomEnum EU
public static final AtomEnum GD
public static final AtomEnum TB
public static final AtomEnum DY
public static final AtomEnum HO
public static final AtomEnum ER
public static final AtomEnum TM
public static final AtomEnum YB
public static final AtomEnum LU
public static final AtomEnum HF
public static final AtomEnum TA
public static final AtomEnum W
public static final AtomEnum RE
public static final AtomEnum OS
public static final AtomEnum IR
public static final AtomEnum PT
public static final AtomEnum AU
public static final AtomEnum HG
public static final AtomEnum TL
public static final AtomEnum PB
public static final AtomEnum BI
public static final AtomEnum PO
public static final AtomEnum AT
public static final AtomEnum RN
public static final AtomEnum FR
public static final AtomEnum RA
public static final AtomEnum AC
public static final AtomEnum TH
public static final AtomEnum PA
public static final AtomEnum U
public static final AtomEnum NP
public static final AtomEnum PU
public static final AtomEnum AM
public static final AtomEnum CM
public static final AtomEnum BK
public static final AtomEnum CF
public static final AtomEnum ES
public static final AtomEnum FM
public static final AtomEnum MD
public static final AtomEnum NO
public static final AtomEnum LR
public static final AtomEnum RF
public static final AtomEnum DB
public static final AtomEnum SG
public static final AtomEnum BH
public static final AtomEnum HS
public static final AtomEnum MT
public static final AtomEnum DS
Field Detail |
---|
public static final double BALL_SCALE
Method Detail |
---|
public static final AtomEnum[] values()
for(AtomEnum c : AtomEnum.values()) System.out.println(c);
public static AtomEnum valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic int getAtomicNumber()
public String getName()
public float getRed()
public float getGreen()
public float getBlue()
public float getAlpha()
public double getBallRadius()
public double getCovalentRadius()
public double getVanDerWaalsRadius()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |