com.mebigfatguy.patchanim
Enum OutOfBoundsColor
java.lang.Object
java.lang.Enum<OutOfBoundsColor>
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
- Clip Clip high values to 255, and low values to 0
- Cycle Uses the remainder of the color with 255
- Roll Inverses the value at 255 and 0
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 |
Clip
public static final OutOfBoundsColor Clip
Cycle
public static final OutOfBoundsColor Cycle
Wave
public static final OutOfBoundsColor Wave
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.