@PublicAPI public enum AnyBondStyle extends java.lang.Enum<AnyBondStyle>
MolBond.getType()
== MolBond.ANY
Enum Constant and Description |
---|
AUTO
Automatically decide whether Dashed or Solid rendering is used.
|
DASHED
Dashed line is used when rendering Any bonds.
|
SOLID
Solid line is used when rendering Any bonds.
|
Modifier and Type | Method and Description |
---|---|
static AnyBondStyle |
get(int dispopts) |
static int |
getDispOptsMask() |
static int |
getDispOptsOffset()
Get the offset used to store the settings in the dispopts integer.
|
static AnyBondStyle |
getFromFlag(int flag) |
static AnyBondStyle |
getStyleFromPropertiesOf(MolBond bond) |
static int |
getValueCount() |
int |
set(int dispopts) |
static java.lang.String[] |
styles()
Return the rendering style names as string values.
|
static AnyBondStyle |
toAnyBondStyle(java.lang.String str) |
int |
toFlag() |
int |
toInt() |
java.lang.String |
toString() |
static AnyBondStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AnyBondStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnyBondStyle AUTO
public static final AnyBondStyle DASHED
public static final AnyBondStyle SOLID
public static AnyBondStyle[] values()
for (AnyBondStyle c : AnyBondStyle.values()) System.out.println(c);
public static AnyBondStyle valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<AnyBondStyle>
public int toInt()
public int toFlag()
public int set(int dispopts)
public static java.lang.String[] styles()
public static int getDispOptsOffset()
public static int getDispOptsMask()
public static AnyBondStyle get(int dispopts)
public static AnyBondStyle getFromFlag(int flag)
public static AnyBondStyle toAnyBondStyle(java.lang.String str)
public static int getValueCount()
public static AnyBondStyle getStyleFromPropertiesOf(MolBond bond)