Enum BasicAtomGenerator.Shape
- java.lang.Object
-
- java.lang.Enum<BasicAtomGenerator.Shape>
-
- org.openscience.cdk.renderer.generators.BasicAtomGenerator.Shape
-
- All Implemented Interfaces:
Serializable
,Comparable<BasicAtomGenerator.Shape>
- Enclosing class:
- BasicAtomGenerator
public static enum BasicAtomGenerator.Shape extends Enum<BasicAtomGenerator.Shape>
When atoms are selected or in compact mode, they will be covered by a shape determined by this enumeration.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BasicAtomGenerator.Shape
valueOf(String name)
Returns the enum constant of this type with the specified name.static BasicAtomGenerator.Shape[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OVAL
public static final BasicAtomGenerator.Shape OVAL
-
SQUARE
public static final BasicAtomGenerator.Shape SQUARE
-
-
Method Detail
-
values
public static BasicAtomGenerator.Shape[] 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 (BasicAtomGenerator.Shape c : BasicAtomGenerator.Shape.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BasicAtomGenerator.Shape 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
-
-