|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Color
This interface declares some methods to access the color with an alpha channel.
| Field Summary | |
|---|---|
static int |
MAX_VALUE
The constant MAX_VALUE contains the maximal values for all channels. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
Check that the current color is identical to another one. |
int |
getAlpha()
Getter for the alpha channel. |
java.lang.String |
toString()
Provide the string representation for the color. |
java.lang.Object |
visit(ColorVisitor visitor,
java.lang.Object value)
This method provides an entry point for the visitor pattern. |
| Field Detail |
|---|
static final int MAX_VALUE
| Method Detail |
|---|
int getAlpha()
boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - the other object to compare to
true iff the color system is identical and the
colors are the same
java.lang.Object visit(ColorVisitor visitor,
java.lang.Object value)
throws GeneralException
visitor - the visitor to applyvalue - the argument for the visitor
GeneralException - in case of an errorjava.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||