eu.webtoolkit.jwt
Enum WPaintDevice.ChangeFlag

java.lang.Object
  extended by java.lang.Enum<WPaintDevice.ChangeFlag>
      extended by eu.webtoolkit.jwt.WPaintDevice.ChangeFlag
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<WPaintDevice.ChangeFlag>
Enclosing interface:
WPaintDevice

public static enum WPaintDevice.ChangeFlag
extends java.lang.Enum<WPaintDevice.ChangeFlag>

Enumeration to communicate painter state changes.

See Also:
WPaintDevice.setChanged(EnumSet flags)

Enum Constant Summary
Brush
          Properties of the brush have changed.
Clipping
          The clipping has changed.
Font
          Properties of the font have changed.
Hints
          Some render hints have changed.
Pen
          Properties of the pen have changed.
Shadow
          Properties of the shadow have changed.
Transform
          The transformation has changed.
 
Method Summary
 int getValue()
          Returns the numerical representation of this enum.
static WPaintDevice.ChangeFlag valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static WPaintDevice.ChangeFlag[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Pen

public static final WPaintDevice.ChangeFlag Pen
Properties of the pen have changed.


Brush

public static final WPaintDevice.ChangeFlag Brush
Properties of the brush have changed.


Font

public static final WPaintDevice.ChangeFlag Font
Properties of the font have changed.


Hints

public static final WPaintDevice.ChangeFlag Hints
Some render hints have changed.


Transform

public static final WPaintDevice.ChangeFlag Transform
The transformation has changed.


Clipping

public static final WPaintDevice.ChangeFlag Clipping
The clipping has changed.


Shadow

public static final WPaintDevice.ChangeFlag Shadow
Properties of the shadow have changed.

Method Detail

values

public static WPaintDevice.ChangeFlag[] 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 (WPaintDevice.ChangeFlag c : WPaintDevice.ChangeFlag.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static WPaintDevice.ChangeFlag valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getValue

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