Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.visualization.colors
Interface ColorLibrary

All Known Implementing Classes:
ListBasedColorLibrary

public interface ColorLibrary

Color scheme interface

Author:
Erich Schubert

Field Summary
static String COLOR_AXIS_LABEL
          Named color for a typical axis label
static String COLOR_AXIS_LINE
          Named color for a typical axis
static String COLOR_AXIS_MINOR_TICK
          Named color for a typical axis tick mark
static String COLOR_AXIS_TICK
          Named color for a typical axis tick mark
static String COLOR_KEY_BACKGROUND
          Named color for the background of the key box
static String COLOR_KEY_LABEL
          Named color for a label in the key part
static String COLOR_LINE_COLORS
          List of line colors
static String COLOR_PAGE_BACKGROUND
          Named color for the page background
static String COLOR_PLOT_BACKGROUND
          Background color for plot area
 
Method Summary
 String getColor(int index)
          Return the i'th color.
 int getNumberOfNativeColors()
          Return the number of native colors available.
 

Field Detail

COLOR_LINE_COLORS

static final String COLOR_LINE_COLORS
List of line colors

See Also:
Constant Field Values

COLOR_PAGE_BACKGROUND

static final String COLOR_PAGE_BACKGROUND
Named color for the page background

See Also:
Constant Field Values

COLOR_AXIS_LINE

static final String COLOR_AXIS_LINE
Named color for a typical axis

See Also:
Constant Field Values

COLOR_AXIS_TICK

static final String COLOR_AXIS_TICK
Named color for a typical axis tick mark

See Also:
Constant Field Values

COLOR_AXIS_MINOR_TICK

static final String COLOR_AXIS_MINOR_TICK
Named color for a typical axis tick mark

See Also:
Constant Field Values

COLOR_AXIS_LABEL

static final String COLOR_AXIS_LABEL
Named color for a typical axis label

See Also:
Constant Field Values

COLOR_KEY_BACKGROUND

static final String COLOR_KEY_BACKGROUND
Named color for the background of the key box

See Also:
Constant Field Values

COLOR_KEY_LABEL

static final String COLOR_KEY_LABEL
Named color for a label in the key part

See Also:
Constant Field Values

COLOR_PLOT_BACKGROUND

static final String COLOR_PLOT_BACKGROUND
Background color for plot area

See Also:
Constant Field Values
Method Detail

getNumberOfNativeColors

int getNumberOfNativeColors()
Return the number of native colors available. These are guaranteed to be unique.

Returns:
number of native colors

getColor

String getColor(int index)
Return the i'th color.

Parameters:
index - color index
Returns:
color in hexadecimal notation (#aabbcc) or color name ("red") as valid in CSS and SVG.

Release 0.3 (2010-03-31_1612)