Enum Constant and Description |
---|
ANNOTATION |
CARBOHYDRATE |
DNA |
HELIX |
HELIX310 |
HELIXALPHA |
HELIXPI |
NONE |
NOT |
RNA |
SHEET |
TURN |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBioStructureTypeName(boolean isGeneric) |
int |
getColor() |
int |
getId() |
static STR |
getProteinStructureType(java.lang.String name)
In DRuMS, RasMol, and Chime, quoting from
http://www.umass.edu/microbio/rasmol/rascolor.htm
The RasMol structure color scheme colors the molecule by
protein secondary structure.
|
private boolean |
isProtein() |
static STR |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static STR[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final STR NOT
public static final STR NONE
public static final STR TURN
public static final STR SHEET
public static final STR HELIX
public static final STR DNA
public static final STR RNA
public static final STR CARBOHYDRATE
public static final STR HELIX310
public static final STR HELIXALPHA
public static final STR HELIXPI
public static final STR ANNOTATION
public static STR[] values()
for (STR c : STR.values()) System.out.println(c);
public static STR valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getId()
public int getColor()
public static final STR getProteinStructureType(java.lang.String name)
name
- public java.lang.String getBioStructureTypeName(boolean isGeneric)
private boolean isProtein()