public class ColorScheme extends Object
| Constructor and Description |
|---|
ColorScheme(String name,
Collection colors) |
| Modifier and Type | Method and Description |
|---|---|
static ColorScheme |
create(String name) |
static Collection |
discreteColorSchemeNames() |
List |
getColors() |
int |
getLastColorReturned() |
String |
getName() |
Color |
next() |
static Collection |
rangeColorSchemeNames() |
void |
setLastColorReturned(int lastColorReturned) |
public ColorScheme(String name, Collection colors)
public static ColorScheme create(String name)
public static Collection rangeColorSchemeNames()
public static Collection discreteColorSchemeNames()
public int getLastColorReturned()
public void setLastColorReturned(int lastColorReturned)
public Color next()
public List getColors()
public String getName()
Copyright © 2015. All rights reserved.