chooser
Enum BindingChooser.FrameColorScheme

java.lang.Object
  extended by java.lang.Enum<BindingChooser.FrameColorScheme>
      extended by chooser.BindingChooser.FrameColorScheme
All Implemented Interfaces:
Serializable, Comparable<BindingChooser.FrameColorScheme>
Enclosing class:
BindingChooser

public static enum BindingChooser.FrameColorScheme
extends Enum<BindingChooser.FrameColorScheme>

Coloring used for the labels and buttons of constructed dialogs. If the color scheme is not set, then colors based on it will default to being based on gray. This influences the content as follows:
GRAY- Sets backgrounds to gradients based on gray.
GRAY_DERIVED- Sets backgrounds to gray scale gradients based on the color scheme.
HUE_DERIVED- Sets backgrounds to colored gradients based on the color scheme.


Enum Constant Summary
GRAY
           
GRAY_DERIVED
           
HUE_DERIVED
           
 
Method Summary
static BindingChooser.FrameColorScheme fromString(String str)
          Returns the enum representation of a string.
 Color getBackgroundBasis(BindingChooser display)
           
 String toString()
           
static BindingChooser.FrameColorScheme valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BindingChooser.FrameColorScheme[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GRAY

public static final BindingChooser.FrameColorScheme GRAY

GRAY_DERIVED

public static final BindingChooser.FrameColorScheme GRAY_DERIVED

HUE_DERIVED

public static final BindingChooser.FrameColorScheme HUE_DERIVED
Method Detail

values

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

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

valueOf

public static BindingChooser.FrameColorScheme 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

fromString

public static BindingChooser.FrameColorScheme fromString(String str)
Returns the enum representation of a string. This is case sensitive.

Parameters:
str - toString representation of this enum
Returns:
enum associated with a string
Throws:
IllegalArgumentException - if argument is not represented by this enum.

getBackgroundBasis

public Color getBackgroundBasis(BindingChooser display)

toString

public String toString()
Overrides:
toString in class Enum<BindingChooser.FrameColorScheme>