|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<PixelleComponent>
com.mebigfatguy.pixelle.PixelleComponent
public enum PixelleComponent
an enum that represents a part of an rgb bitmap
| Enum Constant Summary | |
|---|---|
BLACK
the black component of a pixel |
|
BLUE
the blue component of a pixel |
|
GREEN
the green component of a pixel |
|
RED
the red component of a pixel |
|
SELECTION
the selection status of a pixel |
|
TRANSPARENCY
the transparency component of a pixel |
|
| Method Summary | |
|---|---|
char |
getPixelSpec()
|
static java.util.Set<PixelleComponent> |
gsValues()
|
static java.util.Set<PixelleComponent> |
rgbValues()
|
java.lang.String |
toString()
|
static PixelleComponent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PixelleComponent[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final PixelleComponent RED
public static final PixelleComponent GREEN
public static final PixelleComponent BLUE
public static final PixelleComponent BLACK
public static final PixelleComponent TRANSPARENCY
public static final PixelleComponent SELECTION
| Method Detail |
|---|
public static PixelleComponent[] values()
for (PixelleComponent c : PixelleComponent.values()) System.out.println(c);
public static PixelleComponent 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 char getPixelSpec()
public static java.util.Set<PixelleComponent> rgbValues()
public static java.util.Set<PixelleComponent> gsValues()
public java.lang.String toString()
toString in class java.lang.Enum<PixelleComponent>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||