Enum Class Abbreviations.Option

java.lang.Object
java.lang.Enum<Abbreviations.Option>
org.openscience.cdk.depict.Abbreviations.Option
All Implemented Interfaces:
Serializable, Comparable<Abbreviations.Option>, Constable
Enclosing class:
Abbreviations

public static enum Abbreviations.Option extends Enum<Abbreviations.Option>
  • Enum Constant Details

    • ALLOW_SINGLETON

      public static final Abbreviations.Option ALLOW_SINGLETON
      Allow a structured to be collapsed to a single label.
    • AUTO_CONTRACT_HETERO

      public static final Abbreviations.Option AUTO_CONTRACT_HETERO
      Automatically contract on hetero atoms, e.g. -NMe3
    • AUTO_CONTRACT_TERMINAL

      public static final Abbreviations.Option AUTO_CONTRACT_TERMINAL
      Automatically contract on terminal carbon atoms, e.g. allow -CHEt2. This normally isn't sensible since it will make items like -CH2NH2 or -CH=NH which isn't really better than just drawing it out.
    • AUTO_CONTRACT_LINKERS

      public static final Abbreviations.Option AUTO_CONTRACT_LINKERS
      On auto-contract to linker, e.g. -S(=O)(=O)- => -S(O2)-
  • Method Details

    • values

      public static Abbreviations.Option[] 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 Abbreviations.Option 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