Enum Class RenderingStyle

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

@PublicApi public enum RenderingStyle extends Enum<RenderingStyle>
Enum representing the available molecular rendering styles.
  • Enum Constant Details

    • WIREFRAME

      public static final RenderingStyle WIREFRAME
      Wireframe rendering style.
    • STICKS

      public static final RenderingStyle STICKS
      Stick rendering style.
    • BALLSTICK

      public static final RenderingStyle BALLSTICK
      Stick rendering style with balls at atoms
    • SPACEFILL

      public static final RenderingStyle SPACEFILL
      Spacefill rendering style.
  • Method Details

    • values

      public static RenderingStyle[] 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 RenderingStyle 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<RenderingStyle>
    • toInt

      public int toInt()
    • set

      public int set(int dispopts)
    • lt

      public boolean lt(RenderingStyle style)
    • lessOrEquals

      public boolean lessOrEquals(RenderingStyle style)
    • 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 RenderingStyle get(int dispopts)
    • toRenderingStyle

      public static RenderingStyle toRenderingStyle(String str)
    • getFromFlag

      public static RenderingStyle getFromFlag(int flag)