|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dishevelled.colorscheme.impl.ColorSchemes
public final class ColorSchemes
Color schemes.
| Method Summary | |
|---|---|
static ColorScheme |
getContinuousColorScheme(String name,
int colors,
Interpolation interpolation)
Create and return a continuous color scheme with the specified name, number of colors, and interpolation, if any. |
static ColorScheme |
getDiscreteColorScheme(String name,
int colors,
Interpolation interpolation)
Create and return a discrete color scheme with the specified name, number of colors, and interpolation, if any. |
static ColorScheme |
parseColorScheme(String value)
Parse the specified value into a color scheme. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ColorScheme parseColorScheme(String value)
value - value to parse
public static ColorScheme getDiscreteColorScheme(String name,
int colors,
Interpolation interpolation)
name - namecolors - number of colorsinterpolation - interpolation, must not be null
null if no such discrete color scheme exists
public static ColorScheme getContinuousColorScheme(String name,
int colors,
Interpolation interpolation)
name - namecolors - number of colorsinterpolation - interpolation, must not be null
null if no such continuous color scheme exists
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||