|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ColorScheme
Color scheme.
| Method Summary | |
|---|---|
Color |
getColor(double value)
Return a color appropriate for the specified value. |
ColorFactory |
getColorFactory()
Return the color factory for this color scheme. |
Interpolation |
getInterpolation()
Return the interpolation method for this color scheme. |
double |
getMaximumValue()
Return the maximum potential value for this color scheme. |
double |
getMinimumValue()
Return the minimum potential value for this color scheme. |
double |
getZeroValue()
Return the zero value for this color scheme. |
void |
setColorFactory(ColorFactory colorFactory)
Set the color factory for this color scheme to colorFactory (optional operation). |
void |
setInterpolation(Interpolation interpolation)
Set the interpolation method for this color scheme to interpolation (optional operation). |
void |
setMaximumValue(double maximumValue)
Set the maximum potential value for this color scheme to maximumValue (optional operation). |
void |
setMinimumValue(double minimumValue)
Set the minimum potential value for this color scheme to minimumValue (optional operation). |
void |
setZeroValue(double zeroValue)
Set the zero value for this color scheme to zeroValue (optional operation). |
| Method Detail |
|---|
double getMinimumValue()
0.0d.
void setMinimumValue(double minimumValue)
minimumValue (optional operation).
minimumValue - minimum potential value
UnsupportedOperationException - if this operation is not supported by this color schemedouble getMaximumValue()
1.0d.
void setMaximumValue(double maximumValue)
maximumValue (optional operation).
maximumValue - maximum potential value
UnsupportedOperationException - if this operation is not supported by this color schemedouble getZeroValue()
void setZeroValue(double zeroValue)
zeroValue (optional operation).
zeroValue - zero value
UnsupportedOperationException - if this operation is not supported by this color schemeColorFactory getColorFactory()
void setColorFactory(ColorFactory colorFactory)
colorFactory (optional operation).
colorFactory - color factory, must not be null
UnsupportedOperationException - if this operation is not supported by this color schemeInterpolation getInterpolation()
void setInterpolation(Interpolation interpolation)
interpolation (optional operation).
interpolation - interpolation method, must not be null
UnsupportedOperationException - if this operation is not supported by this color schemeColor getColor(double value)
value - value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||