public enum ColorBrewer extends java.lang.Enum<ColorBrewer>
Enum Constant and Description |
---|
Accent |
Blues |
BrBG |
BuGn |
BuPu |
Dark2 |
GnBu |
Greens |
Greys |
hsvCyMg |
hsvRdBl |
Oranges |
OrRd |
Paired |
Pastel1 |
Pastel2 |
PiYG |
PRGn |
PuBu |
PuBuGn |
PuOr |
PuRd |
Purples |
RdBu |
RdGy |
RdPu |
RdYlBu |
RdYlGn |
Reds |
Set1 |
Set2 |
Set3 |
Spectral |
YlGn |
YlGnBu |
YlOrBr |
YlOrRd |
Modifier and Type | Method and Description |
---|---|
java.awt.Color[] |
getColorPalette(int colorCount) |
static ColorBrewer[] |
getDivergingColorPalettes(boolean colorBlindSave) |
int |
getMaximumColorCount() |
java.lang.String |
getPaletteDescription() |
static ColorBrewer[] |
getQualitativeColorPalettes(boolean colorBlindSave) |
static ColorBrewer[] |
getSequentialColorPalettes(boolean colorBlindSave) |
boolean |
isColorBlindSave() |
static ColorBrewer |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ColorBrewer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorBrewer BrBG
public static final ColorBrewer PiYG
public static final ColorBrewer PRGn
public static final ColorBrewer PuOr
public static final ColorBrewer RdBu
public static final ColorBrewer RdGy
public static final ColorBrewer RdYlBu
public static final ColorBrewer RdYlGn
public static final ColorBrewer Spectral
public static final ColorBrewer Accent
public static final ColorBrewer Dark2
public static final ColorBrewer Paired
public static final ColorBrewer Pastel1
public static final ColorBrewer Pastel2
public static final ColorBrewer Set1
public static final ColorBrewer Set2
public static final ColorBrewer Set3
public static final ColorBrewer Blues
public static final ColorBrewer BuGn
public static final ColorBrewer BuPu
public static final ColorBrewer GnBu
public static final ColorBrewer Greens
public static final ColorBrewer Greys
public static final ColorBrewer Oranges
public static final ColorBrewer OrRd
public static final ColorBrewer PuBu
public static final ColorBrewer PuBuGn
public static final ColorBrewer PuRd
public static final ColorBrewer Purples
public static final ColorBrewer RdPu
public static final ColorBrewer Reds
public static final ColorBrewer YlGn
public static final ColorBrewer YlGnBu
public static final ColorBrewer YlOrBr
public static final ColorBrewer YlOrRd
public static final ColorBrewer hsvRdBl
public static final ColorBrewer hsvCyMg
public static ColorBrewer[] values()
for (ColorBrewer c : ColorBrewer.values()) System.out.println(c);
public static ColorBrewer valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getPaletteDescription()
public int getMaximumColorCount()
public boolean isColorBlindSave()
public java.awt.Color[] getColorPalette(int colorCount)
public static ColorBrewer[] getSequentialColorPalettes(boolean colorBlindSave)
public static ColorBrewer[] getDivergingColorPalettes(boolean colorBlindSave)
public static ColorBrewer[] getQualitativeColorPalettes(boolean colorBlindSave)