Enum STBWMode

java.lang.Object
java.lang.Enum<STBWMode>
org.docx4j.vml.officedrawing.STBWMode
All Implemented Interfaces:
Serializable, Comparable<STBWMode>, java.lang.constant.Constable

public enum STBWMode extends Enum<STBWMode>

Java class for ST_BWMode.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="ST_BWMode">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="color"/>
     <enumeration value="auto"/>
     <enumeration value="grayScale"/>
     <enumeration value="lightGrayscale"/>
     <enumeration value="inverseGray"/>
     <enumeration value="grayOutline"/>
     <enumeration value="highContrast"/>
     <enumeration value="black"/>
     <enumeration value="white"/>
     <enumeration value="hide"/>
     <enumeration value="undrawn"/>
     <enumeration value="blackTextAndLines"/>
   </restriction>
 </simpleType>
 
  • Enum Constant Details

    • COLOR

      public static final STBWMode COLOR
      Color
    • AUTO

      public static final STBWMode AUTO
      Automatic
    • GRAY_SCALE

      public static final STBWMode GRAY_SCALE
      Grayscale
    • LIGHT_GRAYSCALE

      public static final STBWMode LIGHT_GRAYSCALE
      Light grayscale
    • INVERSE_GRAY

      public static final STBWMode INVERSE_GRAY
      Inverse Grayscale
    • GRAY_OUTLINE

      public static final STBWMode GRAY_OUTLINE
      Gray Outlines
    • HIGH_CONTRAST

      public static final STBWMode HIGH_CONTRAST
      Black And White
    • BLACK

      public static final STBWMode BLACK
      Black
    • WHITE

      public static final STBWMode WHITE
      White
    • HIDE

      public static final STBWMode HIDE
      Hide Object When Displayed in Black and White
    • UNDRAWN

      public static final STBWMode UNDRAWN
      Do Not Show
    • BLACK_TEXT_AND_LINES

      public static final STBWMode BLACK_TEXT_AND_LINES
      Black Text And Lines
  • Method Details

    • values

      public static STBWMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static STBWMode 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
    • value

      public String value()
    • fromValue

      public static STBWMode fromValue(String v)