org.biojava3.structure.gui
Enum RenderStyle

java.lang.Object
  extended by java.lang.Enum<RenderStyle>
      extended by org.biojava3.structure.gui.RenderStyle
All Implemented Interfaces:
Serializable, Comparable<RenderStyle>

public enum RenderStyle
extends Enum<RenderStyle>


Enum Constant Summary
BALL_AND_STICK
           
CARTOON
           
MESH
           
RIBBON
           
SPHERES
           
STICKS
           
SURFACE
           
WIREFRAME
           
 
Method Summary
static RenderStyle valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RenderStyle[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

WIREFRAME

public static final RenderStyle WIREFRAME

STICKS

public static final RenderStyle STICKS

BALL_AND_STICK

public static final RenderStyle BALL_AND_STICK

SURFACE

public static final RenderStyle SURFACE

RIBBON

public static final RenderStyle RIBBON

CARTOON

public static final RenderStyle CARTOON

SPHERES

public static final RenderStyle SPHERES

MESH

public static final RenderStyle MESH
Method Detail

values

public static RenderStyle[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RenderStyle c : RenderStyle.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RenderStyle 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
NullPointerException - if the argument is null