info.monitorenter.gui.util
Class ColorIterator.HSBStepper

java.lang.Object
  extended by info.monitorenter.gui.util.ColorIterator.APiggyBackStepper
      extended by info.monitorenter.gui.util.ColorIterator.HSBStepper
All Implemented Interfaces:
ColorIterator.ISteppingModel, java.lang.Cloneable
Enclosing class:
ColorIterator

public static class ColorIterator.HSBStepper
extends ColorIterator.APiggyBackStepper

Performs hue steps until it has walked the whole hue line, then performs a saturation step to start with hue steps again. If the saturation steps have walked the whole saturation line, a luminance step is done before starting with hue steps again.

Version:
$Revision: 1.10 $
Author:
Achim Westermann

Field Summary
 
Fields inherited from class info.monitorenter.gui.util.ColorIterator.APiggyBackStepper
m_huestep, m_lumstep, m_satstep
 
Constructor Summary
ColorIterator.HSBStepper()
          Creates an instance that will perform 100 steps on the hue line then perform 100 steps on the saturation line and then 100 steps on the luminance line.
 
Method Summary
 void doStep(ColorIterator tostep)
          Performs a step on the given color iterator.
 
Methods inherited from class info.monitorenter.gui.util.ColorIterator.APiggyBackStepper
clone, setSteps
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorIterator.HSBStepper

public ColorIterator.HSBStepper()
Creates an instance that will perform 100 steps on the hue line then perform 100 steps on the saturation line and then 100 steps on the luminance line.

Method Detail

doStep

public void doStep(ColorIterator tostep)
Description copied from interface: ColorIterator.ISteppingModel
Performs a step on the given color iterator.

Parameters:
tostep - the color iterator to perform a step on.
See Also:
ColorIterator.ISteppingModel.doStep(info.monitorenter.gui.util.ColorIterator)


Copyright © 2001 - 2010 LGPL, All Rights Footloose.