Package chemaxon.marvin.paint.constants
Enum CoordinateBondOnMulticenterStyle
- java.lang.Object
-
- java.lang.Enum<CoordinateBondOnMulticenterStyle>
-
- chemaxon.marvin.paint.constants.CoordinateBondOnMulticenterStyle
-
- All Implemented Interfaces:
Serializable
,Comparable<CoordinateBondOnMulticenterStyle>
@PublicAPI public enum CoordinateBondOnMulticenterStyle extends Enum<CoordinateBondOnMulticenterStyle>
Holds the values for the possible rendering styles for Coordinate bonds connected to Multicenter atoms. WhereMolBond.getType()
==MolBond.COORDINATE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CoordinateBondOnMulticenterStyle
get(int dispopts)
static int
getDispOptsMask()
static int
getDispOptsOffset()
Get the offset used to store the settings in the dispopts integer.static CoordinateBondOnMulticenterStyle
getFromFlag(int flag)
static int
getValueCount()
int
set(int dispopts)
static String[]
styles()
Return the rendering style names as string values.static CoordinateBondOnMulticenterStyle
toCoordinateBondStyle(String str)
int
toFlag()
int
toInt()
String
toString()
static CoordinateBondOnMulticenterStyle
valueOf(String name)
Returns the enum constant of this type with the specified name.static CoordinateBondOnMulticenterStyle[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SOLID
public static final CoordinateBondOnMulticenterStyle SOLID
Solid line is used when rendering Coordinate bonds. (Similar to a Single bond)
-
HASHED
public static final CoordinateBondOnMulticenterStyle HASHED
Hashed bond is used when rendering Coordinate bonds.
-
-
Method Detail
-
values
public static CoordinateBondOnMulticenterStyle[] 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 (CoordinateBondOnMulticenterStyle c : CoordinateBondOnMulticenterStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CoordinateBondOnMulticenterStyle 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<CoordinateBondOnMulticenterStyle>
-
toInt
public int toInt()
-
toFlag
public int toFlag()
-
set
public int set(int dispopts)
-
styles
public static String[] styles()
Return the rendering style names as string values.- Returns:
- the values as a String[]
-
getDispOptsOffset
public static int getDispOptsOffset()
Get the offset used to store the settings in the dispopts integer.- Returns:
- the offset in dispopts
-
getDispOptsMask
public static int getDispOptsMask()
-
get
public static CoordinateBondOnMulticenterStyle get(int dispopts)
-
getFromFlag
public static CoordinateBondOnMulticenterStyle getFromFlag(int flag)
-
toCoordinateBondStyle
public static CoordinateBondOnMulticenterStyle toCoordinateBondStyle(String str)
-
getValueCount
public static int getValueCount()
-
-