|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdsto.dfc.swing.controls.ColorScheme
public class ColorScheme
This class contains an List of colors, and its associated name.
ColorSchemePanel
,
ColorChooserPanel
,
ColorChooserCombo
Field Summary | |
---|---|
static ColorScheme |
AQUAMARINE
|
static List |
AQUAMARINE_COLORS
|
static List |
AQUAMARINE_COLORS_NAMES
|
static ColorScheme |
CHRISTMAS
|
static List |
CHRISTMAS_COLORS
|
static List |
CHRISTMAS_COLORS_NAMES
|
static ColorScheme |
CONTINENT
|
static List |
CONTINENT_COLORS
|
static List |
CONTINENT_COLORS_NAMES
|
static ColorScheme |
DARK
|
static List |
DARK_COLORS
|
static List |
DARK_COLORS_NAMES
|
static List |
DEFAULT_SCHEMES
|
static ColorScheme |
GARDEN
|
static List |
GARDEN_COLORS
|
static List |
GARDEN_COLORS_NAMES
|
static ColorScheme |
METALLIC
|
static List |
METALLIC_COLORS
|
static List |
METALLIC_COLORS_NAMES
|
static ColorScheme |
MOUNTAIN
|
static List |
MOUNTAIN_COLORS
|
static List |
MOUNTAIN_COLORS_NAMES
|
static List |
PASTEL_COLORS
|
static List |
PASTEL_COLORS_NAMES
|
static ColorScheme |
PASTELS
|
static ColorScheme |
PRIMARY
|
static List |
PRIMARY_COLORS
|
static List |
PRIMARY_COLORS_NAMES
|
static ColorScheme |
YELLOWTOORANGE
|
static List |
YELLOWTOORANGE_COLORS
|
static List |
YELLOWTOORANGE_COLORS_NAMES
|
Constructor Summary | |
---|---|
ColorScheme()
Initializes parameters. |
|
ColorScheme(String n,
List c,
List cNames)
Takes two arguments to intialize the global variables. |
Method Summary | |
---|---|
List |
getColorNames()
Returns the List of Color Names. |
List |
getColors()
Returns the List of Colors. |
String |
getName()
Returns the name of the List. |
static String |
getNameColor(Color color)
Returns the name of a specific color or its RGB value if it doesn't exist. |
void |
setColorNames(List cNames)
Takes an List of Strings cNames and sets it to the ColorNames List. |
void |
setColors(List c)
Takes an List of Color c and sets it to the Color List colors. |
void |
setName(String n)
Takes the String n as a parameter and sets it to the name String. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final List PASTEL_COLORS
public static final List PASTEL_COLORS_NAMES
public static final List METALLIC_COLORS
public static final List METALLIC_COLORS_NAMES
public static final List PRIMARY_COLORS
public static final List PRIMARY_COLORS_NAMES
public static final List AQUAMARINE_COLORS
public static final List AQUAMARINE_COLORS_NAMES
public static final List DARK_COLORS
public static final List DARK_COLORS_NAMES
public static final List MOUNTAIN_COLORS
public static final List MOUNTAIN_COLORS_NAMES
public static final List CONTINENT_COLORS
public static final List CONTINENT_COLORS_NAMES
public static final List GARDEN_COLORS
public static final List GARDEN_COLORS_NAMES
public static final List YELLOWTOORANGE_COLORS
public static final List YELLOWTOORANGE_COLORS_NAMES
public static final List CHRISTMAS_COLORS
public static final List CHRISTMAS_COLORS_NAMES
public static final ColorScheme PASTELS
public static final ColorScheme METALLIC
public static final ColorScheme PRIMARY
public static final ColorScheme AQUAMARINE
public static final ColorScheme DARK
public static final ColorScheme MOUNTAIN
public static final ColorScheme CONTINENT
public static final ColorScheme GARDEN
public static final ColorScheme YELLOWTOORANGE
public static final ColorScheme CHRISTMAS
public static final List DEFAULT_SCHEMES
Constructor Detail |
---|
public ColorScheme()
public ColorScheme(String n, List c, List cNames)
Method Detail |
---|
public String getName()
public List getColors()
public List getColorNames()
public void setName(String n)
public void setColors(List c)
public void setColorNames(List cNames)
public static String getNameColor(Color color)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |