org.apache.pivot.wtk
Enum GraphicsUtilities.PaintType

java.lang.Object
  extended by java.lang.Enum<GraphicsUtilities.PaintType>
      extended by org.apache.pivot.wtk.GraphicsUtilities.PaintType
All Implemented Interfaces:
Serializable, Comparable<GraphicsUtilities.PaintType>
Enclosing class:
GraphicsUtilities

public static enum GraphicsUtilities.PaintType
extends Enum<GraphicsUtilities.PaintType>

Enumeration representing a paint type.


Enum Constant Summary
GRADIENT
           
LINEAR_GRADIENT
           
RADIAL_GRADIENT
           
SOLID_COLOR
           
 
Method Summary
static GraphicsUtilities.PaintType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GraphicsUtilities.PaintType[] 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

SOLID_COLOR

public static final GraphicsUtilities.PaintType SOLID_COLOR

GRADIENT

public static final GraphicsUtilities.PaintType GRADIENT

LINEAR_GRADIENT

public static final GraphicsUtilities.PaintType LINEAR_GRADIENT

RADIAL_GRADIENT

public static final GraphicsUtilities.PaintType RADIAL_GRADIENT
Method Detail

values

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

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

valueOf

public static GraphicsUtilities.PaintType 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