|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.awt.Color
com.planeth.common.gfx.color.PhColor
com.planeth.common.gfx.color.AbstractChangingPhColor
com.planeth.common.gfx.color.CyclingPhColor
Self changing Color. Changes the color values in a randomized speed
from 0 to max and back again in a endless loop.
The generated color effects depend on the base color.
| Field Summary |
| Fields inherited from class java.awt.Color |
black, BLACK, blue, BLUE, cyan, CYAN, DARK_GRAY, darkGray, gray, GRAY, green, GREEN, LIGHT_GRAY, lightGray, magenta, MAGENTA, orange, ORANGE, pink, PINK, red, RED, white, WHITE, yellow, YELLOW |
| Fields inherited from interface java.awt.Transparency |
BITMASK, OPAQUE, TRANSLUCENT |
| Constructor Summary | |
CyclingPhColor()
Constructor for CyclingColor. |
|
CyclingPhColor(int step)
Constructor for CyclingPhColor. |
|
| Method Summary | |
void |
change()
Changes the color (one step) |
| Methods inherited from class com.planeth.common.gfx.color.AbstractChangingPhColor |
brighter, createContext, darker, equals, getAlpha, getBlue, getCol, getColorComponents, getColorComponents, getColorSpace, getComponents, getComponents, getGreen, getRealTimeControl, getRed, getRGB, getRGBColorComponents, getRGBComponents, getTransparency, setCol |
| Methods inherited from class java.awt.Color |
decode, getColor, getColor, getColor, getHSBColor, hashCode, HSBtoRGB, RGBtoHSB, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CyclingPhColor()
public CyclingPhColor(int step)
step - the color value change step| Method Detail |
public void change()
change in class AbstractChangingPhColorAbstractChangingPhColor.change()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||