Package org.biojava.nbio.structure.gui
Enum RenderStyle
- java.lang.Object
-
- java.lang.Enum<RenderStyle>
-
- org.biojava.nbio.structure.gui.RenderStyle
-
- All Implemented Interfaces:
Serializable
,Comparable<RenderStyle>
public enum RenderStyle extends Enum<RenderStyle>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 nameNullPointerException
- if the argument is null
-
-