public enum CoordinateBondStyle extends Enum<CoordinateBondStyle>
MolBond.getType()
== MolBond.COORDINATE
Enum Constant and Description |
---|
ARROW
Arrow is used when rendering Coordinate bonds.
|
SOLID
Solid line is used when rendering Coordinate bonds.
|
Modifier and Type | Method and Description |
---|---|
static CoordinateBondStyle |
get(int dispopts) |
static int |
getDispOptsMask() |
static int |
getDispOptsOffset()
Get the offset used to store the settings in the dispopts integer.
|
static CoordinateBondStyle |
getFromFlag(int flag) |
static int |
getValueCount() |
int |
set(int dispopts) |
static String[] |
styles()
Return the rendering style names as string values.
|
static CoordinateBondStyle |
toCoordinateBondStyle(String str) |
int |
toFlag() |
int |
toInt() |
String |
toString() |
static CoordinateBondStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoordinateBondStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoordinateBondStyle SOLID
public static final CoordinateBondStyle ARROW
public static CoordinateBondStyle[] values()
for (CoordinateBondStyle c : CoordinateBondStyle.values()) System.out.println(c);
public static CoordinateBondStyle valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<CoordinateBondStyle>
public int toInt()
public int toFlag()
public int set(int dispopts)
public static String[] styles()
public static int getDispOptsOffset()
public static int getDispOptsMask()
public static CoordinateBondStyle get(int dispopts)
public static CoordinateBondStyle getFromFlag(int flag)
public static CoordinateBondStyle toCoordinateBondStyle(String str)
public static int getValueCount()