|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.gui.plotter.ColorProvider
public class ColorProvider
This class delivers colors according to the user settings.
| Constructor Summary | |
|---|---|
ColorProvider()
|
|
| Method Summary | |
|---|---|
java.awt.Color |
getMaxLegendColor()
|
java.awt.Color |
getMinLegendColor()
|
java.awt.Color |
getPointBorderColor(DataTable table,
DataTableRow row,
int column)
|
java.awt.Color |
getPointColor(double value)
Returns a color for the given value. |
java.awt.Color |
getPointColor(double value,
int alpha)
Returns a color for the given value. |
double |
getPointColorValue(DataTable table,
DataTableRow row,
int column,
double min,
double max)
Helper methods which can be used to deliver a value for the point color. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColorProvider()
| Method Detail |
|---|
public java.awt.Color getMinLegendColor()
public java.awt.Color getMaxLegendColor()
public double getPointColorValue(DataTable table,
DataTableRow row,
int column,
double min,
double max)
public java.awt.Color getPointBorderColor(DataTable table,
DataTableRow row,
int column)
public java.awt.Color getPointColor(double value)
public java.awt.Color getPointColor(double value,
int alpha)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||