net.sf.jtreemap.ktreemap.example
Enum HSBTreeMapColorProvider.ColorDistributionTypes

java.lang.Object
  extended by java.lang.Enum<HSBTreeMapColorProvider.ColorDistributionTypes>
      extended by net.sf.jtreemap.ktreemap.example.HSBTreeMapColorProvider.ColorDistributionTypes
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<HSBTreeMapColorProvider.ColorDistributionTypes>
Enclosing class:
HSBTreeMapColorProvider

public static enum HSBTreeMapColorProvider.ColorDistributionTypes
extends java.lang.Enum<HSBTreeMapColorProvider.ColorDistributionTypes>

 

Enum Constant Summary
CubicRoot
           
Exp
           
Linear
           
Log
           
SquareRoot
           
 
Method Summary
static HSBTreeMapColorProvider.ColorDistributionTypes valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static HSBTreeMapColorProvider.ColorDistributionTypes[] 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

Linear

public static final HSBTreeMapColorProvider.ColorDistributionTypes Linear

Log

public static final HSBTreeMapColorProvider.ColorDistributionTypes Log

Exp

public static final HSBTreeMapColorProvider.ColorDistributionTypes Exp

SquareRoot

public static final HSBTreeMapColorProvider.ColorDistributionTypes SquareRoot

CubicRoot

public static final HSBTreeMapColorProvider.ColorDistributionTypes CubicRoot
Method Detail

values

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

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

valueOf

public static HSBTreeMapColorProvider.ColorDistributionTypes valueOf(java.lang.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.)

Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name