bibliothek.extension.gui.dock.theme.bubble
Enum BubbleColorScheme.Distribution

java.lang.Object
  extended by java.lang.Enum<BubbleColorScheme.Distribution>
      extended by bibliothek.extension.gui.dock.theme.bubble.BubbleColorScheme.Distribution
All Implemented Interfaces:
Serializable, Comparable<BubbleColorScheme.Distribution>
Enclosing class:
BubbleColorScheme

public static enum BubbleColorScheme.Distribution
extends Enum<BubbleColorScheme.Distribution>

Tells how the primary, secondary and tertiary color components are distributed.

Author:
Benjamin Sigg

Enum Constant Summary
BGR
          primary: blue
secondary: green
tertiary: red
BRG
          primary: blue
secondary: red
tertiary: green
GBR
          primary: green
secondary: blue
tertiary: red
GRB
          primary: green
secondary: red
tertiary: blue
RBG
          primary: red
secondary: blue
tertiary: green
RGB
          primary: red
secondary: green
tertiary: blue
 
Method Summary
static BubbleColorScheme.Distribution valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BubbleColorScheme.Distribution[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

RGB

public static final BubbleColorScheme.Distribution RGB
primary: red
secondary: green
tertiary: blue


RBG

public static final BubbleColorScheme.Distribution RBG
primary: red
secondary: blue
tertiary: green


BRG

public static final BubbleColorScheme.Distribution BRG
primary: blue
secondary: red
tertiary: green


BGR

public static final BubbleColorScheme.Distribution BGR
primary: blue
secondary: green
tertiary: red


GRB

public static final BubbleColorScheme.Distribution GRB
primary: green
secondary: red
tertiary: blue


GBR

public static final BubbleColorScheme.Distribution GBR
primary: green
secondary: blue
tertiary: red

Method Detail

values

public static final BubbleColorScheme.Distribution[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(BubbleColorScheme.Distribution c : BubbleColorScheme.Distribution.values())
        System.out.println(c);

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

valueOf

public static BubbleColorScheme.Distribution 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