org.proteinshader.structure.enums
Enum DecorationEnum
java.lang.Object
java.lang.Enum<DecorationEnum>
org.proteinshader.structure.enums.DecorationEnum
- All Implemented Interfaces:
- Serializable, Comparable<DecorationEnum>
public enum DecorationEnum
- extends Enum<DecorationEnum>
Provides an enumeration to specify if a Segment object should be plain,
with text labels, or with halftoning when the Segment is rendered as a
three-dimensional tube or ribbon.
Method Summary |
static DecorationEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DecorationEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
PLAIN
public static final DecorationEnum PLAIN
WIREFRAME
public static final DecorationEnum WIREFRAME
TEXT_LABELS
public static final DecorationEnum TEXT_LABELS
PATTERNS
public static final DecorationEnum PATTERNS
HALFTONING
public static final DecorationEnum HALFTONING
values
public static final DecorationEnum[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(DecorationEnum c : DecorationEnum.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static DecorationEnum valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
Copyright © 2007-2008