public enum EnumStructure extends Enum<EnumStructure>
Enum Constant and Description |
---|
CARBOHYDRATE |
DNA |
HELIX |
HELIX310 |
HELIXALPHA |
HELIXPI |
NONE |
NOT |
RNA |
SHEET |
TURN |
Modifier and Type | Method and Description |
---|---|
String |
getBioStructureTypeName(boolean isGeneric) |
int |
getColor() |
int |
getId() |
static EnumStructure |
getProteinStructureType(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 EnumStructure |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumStructure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumStructure NOT
public static final EnumStructure NONE
public static final EnumStructure TURN
public static final EnumStructure SHEET
public static final EnumStructure HELIX
public static final EnumStructure DNA
public static final EnumStructure RNA
public static final EnumStructure CARBOHYDRATE
public static final EnumStructure HELIX310
public static final EnumStructure HELIXALPHA
public static final EnumStructure HELIXPI
public static EnumStructure[] values()
for (EnumStructure c : EnumStructure.values()) System.out.println(c);
public static EnumStructure valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic int getId()
public int getColor()
public static final EnumStructure getProteinStructureType(String name)
name
- public String getBioStructureTypeName(boolean isGeneric)
private boolean isProtein()