|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jidesoft.palette.AbstractPalette
com.jidesoft.palette.AbstractMutablePalette
com.jidesoft.palette.FixedPalette
public class FixedPalette
Palette composed of a defined list of discrete colors.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.jidesoft.palette.Palette |
|---|
Palette.Cycle |
| Field Summary | |
|---|---|
protected List<Color> |
_colors
|
| Fields inherited from class com.jidesoft.palette.AbstractMutablePalette |
|---|
_colorCount |
| Constructor Summary | |
|---|---|
protected |
FixedPalette()
|
|
FixedPalette(Color... colors)
|
|
FixedPalette(int... colors)
|
|
FixedPalette(List<Color> colors)
|
| Method Summary | |
|---|---|
Color |
getColor(double fraction)
|
Color |
getColor(int index)
|
int |
getColorCount()
|
protected double |
getHighestFraction()
|
protected double |
getLowestFraction()
|
| Methods inherited from class com.jidesoft.palette.AbstractMutablePalette |
|---|
getCycle, setColorCount, setCycle |
| Methods inherited from class com.jidesoft.palette.AbstractPalette |
|---|
addPaletteListener, addWeakPaletteListener, getEntry, isInverted, notifyPaletteChanged, removePaletteListener, removePaletteListeners |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.jidesoft.palette.Palette |
|---|
addPaletteListener, addWeakPaletteListener, removePaletteListener |
| Field Detail |
|---|
protected List<Color> _colors
| Constructor Detail |
|---|
protected FixedPalette()
public FixedPalette(int... colors)
public FixedPalette(Color... colors)
public FixedPalette(List<Color> colors)
| Method Detail |
|---|
public Color getColor(double fraction)
protected double getLowestFraction()
protected double getHighestFraction()
public Color getColor(int index)
public int getColorCount()
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||