Package chemaxon.rendering.constants
Enum Class CoordinateBondOnMulticenterStyle
java.lang.Object
java.lang.Enum<CoordinateBondOnMulticenterStyle>
chemaxon.rendering.constants.CoordinateBondOnMulticenterStyle
- All Implemented Interfaces:
Serializable,Comparable<CoordinateBondOnMulticenterStyle>,Constable
@PublicApi
public enum CoordinateBondOnMulticenterStyle
extends Enum<CoordinateBondOnMulticenterStyle>
Holds the values for the possible rendering styles for Coordinate bonds connected to Multicenter atoms.
Where
MolBond.getType() == MolBond.COORDINATE-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionget(int dispopts) static intstatic intGet the offset used to store the settings in the dispopts integer.getFromFlag(int flag) static intintset(int dispopts) static String[]styles()Return the rendering style names as string values.inttoFlag()inttoInt()toString()Returns the enum constant of this class with the specified name.static CoordinateBondOnMulticenterStyle[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SOLID
Solid line is used when rendering Coordinate bonds. (Similar to a Single bond) -
HASHED
Hashed bond is used when rendering Coordinate bonds.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<CoordinateBondOnMulticenterStyle>
-
toInt
public int toInt() -
toFlag
public int toFlag() -
set
public int set(int dispopts) -
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
-
getFromFlag
-
toCoordinateBondStyle
-
getValueCount
public static int getValueCount()
-