|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<HelixEnum> org.proteinshader.structure.enums.HelixEnum
public enum HelixEnum
Provides an enumeration of the helix types specified in the
Protein Data Bank .
Enum Constant Summary | |
---|---|
LH_ALPHA
Left-handed alpha-helix: PDB class number 6 |
|
LH_GAMMA
Left-handed gamma-helix: PDB class number 8 |
|
LH_OMEGA
Left-handed omega-helix: PDB class number 7 |
|
POLYPROPYLINE
Polypropyline helix: PDB class number 10 |
|
RH_310
Right-handed 310 helix: PDB class number 5 |
|
RH_ALPHA
Right-handed alpha-helix: PDB class number 1 |
|
RH_GAMMA
Right-handed gamma-helix: PDB class number 4 |
|
RH_OMEGA
Right-handed omega-helix: PDB class number 2 |
|
RH_PI
Right-handed PI helix: PDB class number 3 |
|
TWO_SEVEN_RIBBON
2-7 ribbon/helix: PDB class number 9 |
Method Summary | |
---|---|
int |
getPDBClassNo()
Returns the PDB classification number. |
static HelixEnum |
valueOf(int pdbClassNo)
Returns the HelixEnum corresponding to the PDB classification number given as an argument. |
static HelixEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static HelixEnum[] |
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 HelixEnum RH_ALPHA
public static final HelixEnum RH_OMEGA
public static final HelixEnum RH_PI
public static final HelixEnum RH_GAMMA
public static final HelixEnum RH_310
public static final HelixEnum LH_ALPHA
public static final HelixEnum LH_OMEGA
public static final HelixEnum LH_GAMMA
public static final HelixEnum TWO_SEVEN_RIBBON
public static final HelixEnum POLYPROPYLINE
Method Detail |
---|
public static final HelixEnum[] values()
for(HelixEnum c : HelixEnum.values()) System.out.println(c);
public static HelixEnum 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 getPDBClassNo()
public static HelixEnum valueOf(int pdbClassNo)
IllegalArgumentException
- if no HelixEnum matches the
pdbClassNo.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |