de.erichseifert.gral
Enum DrawingContext.Quality

java.lang.Object
  extended by java.lang.Enum<DrawingContext.Quality>
      extended by de.erichseifert.gral.DrawingContext.Quality
All Implemented Interfaces:
Serializable, Comparable<DrawingContext.Quality>
Enclosing class:
DrawingContext

public static enum DrawingContext.Quality
extends Enum<DrawingContext.Quality>

Data type that describes the quality mode of drawing operations.


Enum Constant Summary
DRAFT
          Fast drawing mode.
NORMAL
          Standard drawing mode.
QUALITY
          High quality drawing mode.
 
Method Summary
static DrawingContext.Quality valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DrawingContext.Quality[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DRAFT

public static final DrawingContext.Quality DRAFT
Fast drawing mode.


NORMAL

public static final DrawingContext.Quality NORMAL
Standard drawing mode.


QUALITY

public static final DrawingContext.Quality QUALITY
High quality drawing mode.

Method Detail

values

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

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

valueOf

public static DrawingContext.Quality 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


Copyright © 2009-2010. All Rights Reserved.