Enum AnyBondStyle

    • Enum Constant Detail

      • AUTO

        public static final AnyBondStyle AUTO
        Automatically decide whether Dashed or Solid rendering is used.
      • DASHED

        public static final AnyBondStyle DASHED
        Dashed line is used when rendering Any bonds.
      • SOLID

        public static final AnyBondStyle SOLID
        Solid line is used when rendering Any bonds. (Similar to a Single bond)
    • Method Detail

      • values

        public static AnyBondStyle[] 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 (AnyBondStyle c : AnyBondStyle.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AnyBondStyle 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 name
        NullPointerException - if the argument is null
      • 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()
      • getFromFlag

        public static AnyBondStyle getFromFlag​(int flag)
      • getValueCount

        public static int getValueCount()
      • getStyleFromPropertiesOf

        public static AnyBondStyle getStyleFromPropertiesOf​(MolBond bond)