|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<AminoAcidEnum> org.proteinshader.structure.enums.AminoAcidEnum
public enum AminoAcidEnum
Provides an enumeration of the amino acids found in protein.
An AminoAcidEnum can be used to obtain a String with the full name of
the amino acid, its 3-letter code, or its 1-letter code.
Enum Constant Summary | |
---|---|
ALA
Alanine (A) is dark-gray. |
|
ARG
Arginine (R) is blue. |
|
ASN
Asparagine (N) is cyan. |
|
ASP
Aspartic Acid (D) is bright-red. |
|
ASX
ASP/ASN ambiguous (B) uses bright-red for ASP. |
|
CYS
Cysteine (C) is yellow. |
|
GLN
Glutamine (Q) is cyan. |
|
GLU
Glutamic Acid (E) is bright-red. |
|
GLX
GLU/GLN ambiguous (Z) uses bright-red for GLU. |
|
GLY
Glycine (G) is light-gray. |
|
HIS
Histidine (H) is pale-blue. |
|
ILE
Isoleucine (I) is green. |
|
LEU
Leucine (L) is green. |
|
LYS
Lysine (K) is blue. |
|
MET
Methionine (M) is yellow. |
|
PHE
Phenylalanine (F) is mid-blue. |
|
PRO
Proline (P) is peach. |
|
SER
Serine (S) is orange. |
|
THR
Threonine (T) is orange. |
|
TRP
Tryptophan (W) is pink. |
|
TYR
Tyrosine (Y) is mid-blue. |
|
UNK
Unknown (X) is black. |
|
VAL
Valine (V) is green. |
Method Summary | |
---|---|
float |
getAlpha()
Returns the alpha component of the RGBA color on a scale from 0.0 to 1.0, inclusive. |
float |
getBlue()
Returns the blue component of the RGBA color on a scale from 0.0 to 1.0, inclusive. |
String |
getFullName()
Returns the full name of the amino acid. |
float |
getGreen()
Returns the green component of the RGBA color on a scale from 0.0 to 1.0, inclusive. |
String |
getOneLetterCode()
Returns the one-letter code for the amino acid. |
float |
getRed()
Returns the red component of the RGBA color on a scale from 0.0 to 1.0, inclusive. |
String |
getThreeLetterCode()
Returns the three-letter code for the amino acid. |
static AminoAcidEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AminoAcidEnum[] |
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 AminoAcidEnum ALA
public static final AminoAcidEnum ARG
public static final AminoAcidEnum ASN
public static final AminoAcidEnum ASP
public static final AminoAcidEnum ASX
public static final AminoAcidEnum CYS
public static final AminoAcidEnum GLN
public static final AminoAcidEnum GLU
public static final AminoAcidEnum GLX
public static final AminoAcidEnum GLY
public static final AminoAcidEnum HIS
public static final AminoAcidEnum ILE
public static final AminoAcidEnum LEU
public static final AminoAcidEnum LYS
public static final AminoAcidEnum MET
public static final AminoAcidEnum PHE
public static final AminoAcidEnum PRO
public static final AminoAcidEnum SER
public static final AminoAcidEnum THR
public static final AminoAcidEnum TRP
public static final AminoAcidEnum TYR
public static final AminoAcidEnum UNK
public static final AminoAcidEnum VAL
Method Detail |
---|
public static final AminoAcidEnum[] values()
for(AminoAcidEnum c : AminoAcidEnum.values()) System.out.println(c);
public static AminoAcidEnum 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 String getFullName()
public String getThreeLetterCode()
public String getOneLetterCode()
public float getRed()
public float getGreen()
public float getBlue()
public float getAlpha()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |