public class DataColoringManager
extends java.lang.Object
Constructor and Description |
---|
DataColoringManager(Projector projector)
Construct a data coloring manager.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getBaseColor() |
double |
getCeiling() |
java.lang.String |
getColoringMethodString()
Get the coloring method as a string.
|
double |
getDecrementAmount() |
double |
getFloor() |
java.awt.Color |
getHotColor() |
boolean |
getHotPointMode() |
double |
getIncrementAmount() |
void |
setBaseColor(java.awt.Color baseColor) |
void |
setCeiling(double ceiling) |
void |
setColoringMethod(java.lang.String selectedMethod)
Set the coloring method.
|
void |
setDecrementAmount(double decrementAmount) |
void |
setFloor(double floor) |
void |
setHotColor(java.awt.Color hotColor) |
void |
setHotPointMode(boolean hotPointMode)
Set hot point coloring mode to on (true) or off (false).
|
void |
setIncrementAmount(double incrementAmount) |
void |
updateDataPointColors(Dataset data)
Update the colors of all the datapoints in a dataset.
|
public DataColoringManager(Projector projector)
projector
- public void updateDataPointColors(Dataset data)
data
- the dataset whose points should be colored.public java.lang.String getColoringMethodString()
public void setColoringMethod(java.lang.String selectedMethod)
selectedMethod
- public java.awt.Color getHotColor()
public java.awt.Color getBaseColor()
public double getFloor()
public double getCeiling()
public double getIncrementAmount()
public double getDecrementAmount()
public void setHotColor(java.awt.Color hotColor)
hotColor
- the hotColor to setpublic void setBaseColor(java.awt.Color baseColor)
baseColor
- the baseColor to setpublic void setFloor(double floor)
floor
- the floor to setpublic void setCeiling(double ceiling)
ceiling
- the ceiling to setpublic void setIncrementAmount(double incrementAmount)
incrementAmount
- the incrementAmount to setpublic void setDecrementAmount(double decrementAmount)
decrementAmount
- the decrementAmount to setpublic void setHotPointMode(boolean hotPointMode)
hotPointMode
- public boolean getHotPointMode()