JIDE 3.5.15

com.jidesoft.colormap
Interface ColorMap

All Known Subinterfaces:
MutableColorMap
All Known Implementing Classes:
AbstractColorMap, SimpleColorMap

public interface ColorMap

This interface defines how values can be mapped to colors.


Nested Class Summary
static class ColorMap.Assignments
           
static class ColorMap.Matching
           
 
Field Summary
static String PROPERTY_ASSIGNMENTS
           
static String PROPERTY_BRIGHTNESS
           
static String PROPERTY_COLORCOUNT
           
static String PROPERTY_INTERVAL
           
static String PROPERTY_INVERTED
           
static String PROPERTY_MATCHING
           
static String PROPERTY_NULLCOLOR
           
static String PROPERTY_OVERCOLOR
           
static String PROPERTY_PALETTE
           
static String PROPERTY_SATURATION
           
static String PROPERTY_UNDERCOLOR
           
 
Method Summary
 void addColorMapListener(ColorMapListener listener)
          Add a listener to the list that's notified each time a change to the colormap occurs.
 void addPropertyChangeListener(PropertyChangeListener listener)
           
 void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
           
 void addWeakColorMapListener(ColorMapListener listener)
          Add a listener to the list that's notified each time a change to the colormap occurs.
 Set<Object> getAssignedValues()
           
 int getBrightness()
           
 Color getColor(Object value)
           
 int getColorCount()
           
 Interval getInterval()
           
 Color getNullColor()
          Get color to be used for null values.
 Color getOverflowColor()
          Get color to be used for high out-of-range values
 Palette getPalette()
           
 int getSaturation()
           
 Color getUnderflowColor()
          Get color to be used for low out-of-range values
 boolean isInverted()
           
 boolean isOverflowColorSet()
           
 boolean isUnderflowColorSet()
           
 void removeColorMapListener(ColorMapListener listener)
          Remove a listener to the list that's notified each time a change to the colormap occurs.
 void removePropertyChangeListener(PropertyChangeListener listener)
           
 void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
           
 

Field Detail

PROPERTY_INTERVAL

static final String PROPERTY_INTERVAL
See Also:
Constant Field Values

PROPERTY_PALETTE

static final String PROPERTY_PALETTE
See Also:
Constant Field Values

PROPERTY_MATCHING

static final String PROPERTY_MATCHING
See Also:
Constant Field Values

PROPERTY_ASSIGNMENTS

static final String PROPERTY_ASSIGNMENTS
See Also:
Constant Field Values

PROPERTY_NULLCOLOR

static final String PROPERTY_NULLCOLOR
See Also:
Constant Field Values

PROPERTY_UNDERCOLOR

static final String PROPERTY_UNDERCOLOR
See Also:
Constant Field Values

PROPERTY_OVERCOLOR

static final String PROPERTY_OVERCOLOR
See Also:
Constant Field Values

PROPERTY_INVERTED

static final String PROPERTY_INVERTED
See Also:
Constant Field Values

PROPERTY_COLORCOUNT

static final String PROPERTY_COLORCOUNT
See Also:
Constant Field Values

PROPERTY_BRIGHTNESS

static final String PROPERTY_BRIGHTNESS
See Also:
Constant Field Values

PROPERTY_SATURATION

static final String PROPERTY_SATURATION
See Also:
Constant Field Values
Method Detail

getAssignedValues

Set<Object> getAssignedValues()

getBrightness

int getBrightness()

getSaturation

int getSaturation()

getColor

Color getColor(Object value)

getInterval

Interval getInterval()

getPalette

Palette getPalette()

getNullColor

Color getNullColor()
Get color to be used for null values.

Returns:
the color for null values

getOverflowColor

Color getOverflowColor()
Get color to be used for high out-of-range values

Returns:
the high out-of-range color

getUnderflowColor

Color getUnderflowColor()
Get color to be used for low out-of-range values

Returns:
the low out-of-range color

isOverflowColorSet

boolean isOverflowColorSet()

isUnderflowColorSet

boolean isUnderflowColorSet()

isInverted

boolean isInverted()

getColorCount

int getColorCount()

addColorMapListener

void addColorMapListener(ColorMapListener listener)
Add a listener to the list that's notified each time a change to the colormap occurs.

Parameters:
listener - the ColorMapListener

addWeakColorMapListener

void addWeakColorMapListener(ColorMapListener listener)
Add a listener to the list that's notified each time a change to the colormap occurs. The listener will automatically be disposed of should no other object have a reference to it.

Parameters:
listener - the ColorMapListener

removeColorMapListener

void removeColorMapListener(ColorMapListener listener)
Remove a listener to the list that's notified each time a change to the colormap occurs.

Parameters:
listener - the ColorMapListener

addPropertyChangeListener

void addPropertyChangeListener(String propertyName,
                               PropertyChangeListener listener)

addPropertyChangeListener

void addPropertyChangeListener(PropertyChangeListener listener)

removePropertyChangeListener

void removePropertyChangeListener(PropertyChangeListener listener)

removePropertyChangeListener

void removePropertyChangeListener(String propertyName,
                                  PropertyChangeListener listener)

JIDE 3.5.15