|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.monitorenter.gui.util.ColorIterator.ADefaultStepping info.monitorenter.gui.util.ColorIterator.LuminanceStepper
public static class ColorIterator.LuminanceStepper
A stepping model that steps on the luminance line of the HSB color space.
Field Summary |
---|
Fields inherited from class info.monitorenter.gui.util.ColorIterator.ADefaultStepping |
---|
m_stepping |
Constructor Summary | |
---|---|
ColorIterator.LuminanceStepper()
Creates an instance with 100 luminance steps. |
|
ColorIterator.LuminanceStepper(int steps)
Creates an instance with the given stepping to go on the luminance line of the color space. |
Method Summary | |
---|---|
void |
doStep(ColorIterator tostep)
Performs a luminance step on the given ColorIterator's HSBColor. |
Methods inherited from class info.monitorenter.gui.util.ColorIterator.ADefaultStepping |
---|
clone, setSteps |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ColorIterator.LuminanceStepper()
public ColorIterator.LuminanceStepper(int steps)
steps
- the amount of steps to take in the luminance space.Method Detail |
---|
public void doStep(ColorIterator tostep)
The bounds are watched: if a step would cross 1.0, it will be continued beginning from 0. if a step would cross the luminance value of the ColorIterator's start luminance, the step will only go as far as this value. Else there would be problems with finding the end of the iteration.
tostep
- the color iterator to perform the step on.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |