XYPlot
and
XYBlockRenderer
.public abstract class ColorPalette extends Object implements Cloneable, Serializable
ContourPlot
.Constructor and Description |
---|
ColorPalette()
Deprecated.
Default contructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Deprecated.
Returns a clone of the palette.
|
boolean |
equals(Object o)
Deprecated.
Tests an object for equality with this instance.
|
Paint |
getColor(double value)
Deprecated.
Returns the color associated with a value.
|
Color |
getColor(int izV)
Deprecated.
Returns a color.
|
Color |
getColorLinear(double value)
Deprecated.
Returns Color by mapping a given value to a linear palette.
|
Color |
getColorLog(double value)
Deprecated.
Returns Color by mapping a given value to a common log palette.
|
double |
getMaxZ()
Deprecated.
Returns the maximum Z value.
|
double |
getMinZ()
Deprecated.
Returns the minimum Z value.
|
Paint |
getPaint(double value)
Deprecated.
Returns Paint by mapping a given value to a either a linear or common
log palette as controlled by the value logscale.
|
String |
getPaletteName()
Deprecated.
Returns the palette name.
|
double[] |
getTickValues()
Deprecated.
Returns the tick values.
|
int |
hashCode()
Deprecated.
Returns a hash code.
|
abstract void |
initialize()
Deprecated.
Called to initialize the palette's color indexes
|
void |
invertPalette()
Deprecated.
Inverts Palette
|
boolean |
isInverse()
Deprecated.
Returns the inverse flag.
|
boolean |
isLogscale()
Deprecated.
Returns the log-scale flag.
|
boolean |
isStepped()
Deprecated.
Returns the 'is-stepped' flag.
|
void |
setInverse(boolean inverse)
Deprecated.
Sets the inverse flag.
|
void |
setLogscale(boolean logscale)
Deprecated.
Sets the 'log-scale' flag.
|
void |
setMaxZ(double newMaxZ)
Deprecated.
Sets the maximum Z value.
|
void |
setMinZ(double newMinZ)
Deprecated.
Sets the minimum Z value.
|
void |
setPaletteName(String paletteName)
Deprecated.
Sets the palette name.
|
void |
setStepped(boolean stepped)
Deprecated.
Sets the stepped flag.
|
void |
setTickValues(double[] newTickValues)
Deprecated.
Sets the tick values.
|
void |
setTickValues(List ticks)
Deprecated.
Store ticks.
|
public Paint getColor(double value)
value
- the value.public Color getColor(int izV)
izV
- the index into the palette (zero based).public Color getColorLinear(double value)
value
- the value.public Color getColorLog(double value)
value
- the value.public double getMaxZ()
public double getMinZ()
public Paint getPaint(double value)
value
- the value.public String getPaletteName()
public double[] getTickValues()
public abstract void initialize()
public void invertPalette()
public boolean isInverse()
public boolean isLogscale()
public boolean isStepped()
public void setInverse(boolean inverse)
inverse
- the new value.public void setLogscale(boolean logscale)
logscale
- the new value.public void setMaxZ(double newMaxZ)
newMaxZ
- the new value.public void setMinZ(double newMinZ)
newMinZ
- the new value.public void setPaletteName(String paletteName)
paletteName
- the name.public void setStepped(boolean stepped)
stepped
- the flag.public void setTickValues(double[] newTickValues)
newTickValues
- the tick values.public void setTickValues(List ticks)
ticks
- the ticks.public boolean equals(Object o)
public int hashCode()
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
- never.Jas4pp 1.5 © Java Analysis Studio for Particle Physics