Enum Class CoordinateBondStyle

java.lang.Object
java.lang.Enum<CoordinateBondStyle>
chemaxon.rendering.constants.CoordinateBondStyle
All Implemented Interfaces:
Serializable, Comparable<CoordinateBondStyle>, Constable

@PublicApi public enum CoordinateBondStyle extends Enum<CoordinateBondStyle>
Holds the values for the possible rendering styles for Coordinate bonds. Where MolBond.getType() == MolBond.COORDINATE
  • Enum Constant Details

    • SOLID

      public static final CoordinateBondStyle SOLID
      Solid line is used when rendering Coordinate bonds. (Similar to a Single bond)
    • ARROW

      public static final CoordinateBondStyle ARROW
      Arrow is used when rendering Coordinate bonds.
  • Method Details

    • values

      public static CoordinateBondStyle[] 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

      public static CoordinateBondStyle valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<CoordinateBondStyle>
    • 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 CoordinateBondStyle get(int dispopts)
    • getFromFlag

      public static CoordinateBondStyle getFromFlag(int flag)
    • toCoordinateBondStyle

      public static CoordinateBondStyle toCoordinateBondStyle(String str)
    • getValueCount

      public static int getValueCount()