|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SideChainEnum> org.proteinshader.structure.enums.SideChainEnum
public enum SideChainEnum
Provides an enumeration to specify how an amino acid side chain should be displayed is it is shown in combination with a tube or ribbon segment.
Enum Constant Summary | |
---|---|
BALLS_AND_STICKS
Use a balls-and-sticks representation. |
|
NONE
Show nothing. |
|
SPACE_FILLING
Use a space filling representation (spheres only). |
|
STICKS
Use sticks (thin cylinders) only. |
Method Summary | |
---|---|
static SideChainEnum |
getDefaultSideChainType()
Returns the default side chain type, which is NONE. |
String |
getMenuName()
Returns the name of the SideChainEnum in a form suitable for use in a menu. |
String |
toString()
Returns the name of the SideChainEnum in a form suitable for use in a menu. |
static SideChainEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SideChainEnum |
valueOfMenuName(String menuName)
Returns the SideChainEnum with the same menu name as the String given as an argument. |
static SideChainEnum[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SideChainEnum NONE
public static final SideChainEnum SPACE_FILLING
public static final SideChainEnum BALLS_AND_STICKS
public static final SideChainEnum STICKS
Method Detail |
---|
public static final SideChainEnum[] values()
for(SideChainEnum c : SideChainEnum.values()) System.out.println(c);
public static SideChainEnum 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 static SideChainEnum getDefaultSideChainType()
public String getMenuName()
public String toString()
toString
in class Enum<SideChainEnum>
public static SideChainEnum valueOfMenuName(String menuName)
IllegalArgumentException
- if the menu name does not match
a SideChainEnum.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |