Enum Class PainterChangeFlag

java.lang.Object
java.lang.Enum<PainterChangeFlag>
eu.webtoolkit.jwt.PainterChangeFlag
All Implemented Interfaces:
Serializable, Comparable<PainterChangeFlag>, Constable

public enum PainterChangeFlag extends Enum<PainterChangeFlag>
Enumeration to communicate painter state changes.
  • Enum Constant Details

    • Pen

      public static final PainterChangeFlag Pen
      Properties of the pen have changed.
    • Brush

      public static final PainterChangeFlag Brush
      Properties of the brush have changed.
    • Font

      public static final PainterChangeFlag Font
      Properties of the font have changed.
    • Hints

      public static final PainterChangeFlag Hints
      Some render hints have changed.
    • Transform

      public static final PainterChangeFlag Transform
      The transformation has changed.
    • Clipping

      public static final PainterChangeFlag Clipping
      The clipping has changed.
    • Shadow

      public static final PainterChangeFlag Shadow
      Properties of the shadow have changed.
  • Method Details

    • values

      public static PainterChangeFlag[] 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 PainterChangeFlag 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
    • getValue

      public int getValue()
      Returns the numerical representation of this enum.