Inheritance diagram for DisplayGUI.ColorScale:
Public Member Functions | |
ColorScale (double xlow, Color loColor, String loLabel, double xHigh, Color hiColor, String hiLabel) | |
Creates a new instance of colorScale with gradient colors. | |
ColorScale (String title, boolean isLog, boolean isGrad) | |
ColorScale (double xlow, Color loColor, String loLabel) | |
Creates an instance of colorScale with solid colors. | |
ColorScale (String title, List scalePoints, boolean isGradientPaint, boolean isLogScale) | |
ColorScale (ColorScale newScale) | |
String | setTitle (String title) |
String | getTitle () |
void | setLogScale (boolean log) |
boolean | isLogScale () |
void | setGradientPaint (boolean isGradientPaint) |
boolean | isGradientPaint () |
void | add (double value, Color color, String label) |
Add a new point on the scale with specified value, color, and label. | |
void | drawColorScale (java.awt.Graphics2D g2, int x, int y) |
Draw the color scale at x,y. | |
void | drawSolidColorScale (java.awt.Graphics2D g2, int x, int y) |
void | drawAxisLabel (java.awt.Graphics2D g2, int x, int y, String label) |
Draw axis label at x,y. | |
Color | getColor (Double dValue) |
get color for given value | |
String | getLabel (Double value) |
List | getScalePoints () |
int | getNoPoints () |
ColorScalePoint | getColorScalePoint (int index) |
void | setColorScalePoint (int index, ColorScalePoint csp) |
void | setLastPoint (double lastValue) |
void | setLastPoint (int lastValue) |
void | removePoint (int index) |
void | add (ColorScalePoint newPoint) |
void | printData () |
boolean | equals (ColorScale otherScale) |
Package Attributes | |
List | scalePoints |
boolean | isGradientPaint |
Does scale contain gradient colors? | |
boolean | logScale |
Display log scale. | |
String | title = null |
SortedMap | sortedMap |
Private Member Functions | |
void | orderList () |
Definition at line 18 of file ColorScale.java.