com.jidesoft.palette
Class AbstractMutablePalette
java.lang.Object
com.jidesoft.palette.AbstractPalette
com.jidesoft.palette.AbstractMutablePalette
- All Implemented Interfaces:
- MutablePalette, Palette
- Direct Known Subclasses:
- FixedPalette
public abstract class AbstractMutablePalette
- extends AbstractPalette
- implements MutablePalette
This class provides a skeletal implementation of the MutablePalette interface to minimize the effort required to implement this interface.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_colorCount
protected int _colorCount
AbstractMutablePalette
public AbstractMutablePalette()
setColorCount
public void setColorCount(int colorCount)
- Specified by:
setColorCount
in interface MutablePalette
getCycle
public Palette.Cycle getCycle()
- Description copied from interface:
Palette
- Defines the method to use when retrieving colors outside the normal interval.
- Specified by:
getCycle
in interface Palette
- Returns:
- the method to use
setCycle
public void setCycle(Palette.Cycle cycle)
- Specified by:
setCycle
in interface MutablePalette