bibliothek.gui.dock.util.font
Enum GenericFontModifier.Modify

java.lang.Object
  extended by java.lang.Enum<GenericFontModifier.Modify>
      extended by bibliothek.gui.dock.util.font.GenericFontModifier.Modify
All Implemented Interfaces:
Serializable, Comparable<GenericFontModifier.Modify>
Enclosing class:
GenericFontModifier

public static enum GenericFontModifier.Modify
extends Enum<GenericFontModifier.Modify>

Tells how to transform some aspect of a font.

Author:
Benjamin Sigg

Enum Constant Summary
IGNORE
           
OFF
           
ON
           
REVERSE
           
 
Method Summary
static GenericFontModifier.Modify valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GenericFontModifier.Modify[] 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

ON

public static final GenericFontModifier.Modify ON

OFF

public static final GenericFontModifier.Modify OFF

REVERSE

public static final GenericFontModifier.Modify REVERSE

IGNORE

public static final GenericFontModifier.Modify IGNORE
Method Detail

values

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

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

valueOf

public static GenericFontModifier.Modify 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