|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<IndexOutOfBoundsOption>
com.mebigfatguy.pixelle.IndexOutOfBoundsOption
public enum IndexOutOfBoundsOption
an enum that represents what to do when an index specified is outside the coordinates of the source bitmap.
| Enum Constant Summary | |
|---|---|
BorderColor
use the closest border color |
|
SpecifiedColor
use the specified color |
|
WrapColor
calculate a new index using the modulus function of the width or height |
|
| Method Summary | |
|---|---|
java.awt.Color |
getColor()
retrieves the color that is used for when the enum is 'SpecifiedColor' |
void |
setColor(java.awt.Color clr)
sets the color that is used for when the enum is 'SpecifiedColor' |
static IndexOutOfBoundsOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static IndexOutOfBoundsOption[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final IndexOutOfBoundsOption SpecifiedColor
public static final IndexOutOfBoundsOption BorderColor
public static final IndexOutOfBoundsOption WrapColor
| Method Detail |
|---|
public static IndexOutOfBoundsOption[] values()
for (IndexOutOfBoundsOption c : IndexOutOfBoundsOption.values()) System.out.println(c);
public static IndexOutOfBoundsOption valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.awt.Color getColor()
public void setColor(java.awt.Color clr)
clr - the specified color
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||