com.mebigfatguy.patchanim
Enum OutOfBoundsColor

java.lang.Object
  extended by java.lang.Enum<OutOfBoundsColor>
      extended by com.mebigfatguy.patchanim.OutOfBoundsColor
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OutOfBoundsColor>

public enum OutOfBoundsColor
extends java.lang.Enum<OutOfBoundsColor>

denotes how to render colors when they are outside the range of 0 - 255


Enum Constant Summary
Clip
           
Cycle
           
Wave
           
 
Method Summary
 java.lang.String toString()
          returns the localized value of the enum
static OutOfBoundsColor valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OutOfBoundsColor[] 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, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Clip

public static final OutOfBoundsColor Clip

Cycle

public static final OutOfBoundsColor Cycle

Wave

public static final OutOfBoundsColor Wave
Method Detail

values

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

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

valueOf

public static OutOfBoundsColor 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.)

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

toString

public java.lang.String toString()
returns the localized value of the enum

Overrides:
toString in class java.lang.Enum<OutOfBoundsColor>
Returns:
the localized display value


Copyright © 2008 MeBigFatGuy.com. All Rights Reserved.