TLcdNumericParameterizedIcon
can display numeric icons for GRIB data decoded by the NetCDF decoder.@Deprecated public class TLcdGRIBNumericIcon extends ALcdGRIBIcon
ILcdGRIBIcon
displays numbers, based on the
first value of the array of values.Constructor and Description |
---|
TLcdGRIBNumericIcon()
Deprecated.
Creates a new TLcdGRIBNumericIcon with default settings.
|
Modifier and Type | Method and Description |
---|---|
void |
anchorPointSFCT(double[] aValues,
Point aPointSFCT)
Deprecated.
Returns the anchor point of this icon.
|
Color |
getColor()
Deprecated.
Gets the color of the numbers.
|
DecimalFormat |
getDecimalFormat()
Deprecated.
Gets the decimal format for the numbers.
|
Color |
getEdgeColor()
Deprecated.
Returns the color of the edge around the numbers.
|
int |
getEdgeRadius()
Deprecated.
Returns the radius of the colored edge around the numbers.
|
Font |
getFont()
Deprecated.
Gets the font of the numbers.
|
int |
getIconHeight(double[] aValues)
Deprecated.
Returns the height of the icon.
|
int |
getIconWidth(double[] aValues)
Deprecated.
Returns the width of the icon.
|
String |
getUnitString()
Deprecated.
Returns the unit string that is appended after the number.
|
void |
paintGRIBIcon(Graphics aGraphics,
int aX,
int aY,
double[] aValues)
Deprecated.
Paint the icon at the specified location for the given multi-dimensional value.
|
void |
setColor(Color aColor)
Deprecated.
Sets the color of the numbers.
|
void |
setDecimalFormat(DecimalFormat aDecimalFormat)
Deprecated.
Sets the decimal format for the numbers.
|
void |
setEdgeColor(Color aEdgeColor)
Deprecated.
Sets the color of the edge around the numbers.
|
void |
setEdgeRadius(int aEdgeRadius)
Deprecated.
Sets the radius of the colored edge around the numbers.
|
void |
setFont(Font aFont)
Deprecated.
Sets the font of the numbers.
|
void |
setUnitString(String aUnitString)
Deprecated.
Sets the unit string that is appended after the number.
|
public TLcdGRIBNumericIcon()
public String getUnitString()
setUnitString(String)
public void setUnitString(String aUnitString)
aUnitString
- The unit string.getUnitString()
public Font getFont()
setFont(java.awt.Font)
public void setFont(Font aFont)
aFont
- The font of the numbers.getFont()
public Color getColor()
setColor(java.awt.Color)
public void setColor(Color aColor)
aColor
- The color of the numbers.getColor()
public Color getEdgeColor()
setEdgeColor(java.awt.Color)
public void setEdgeColor(Color aEdgeColor)
aEdgeColor
- The color of the edge around the numbers.getEdgeColor()
public int getEdgeRadius()
setEdgeRadius(int)
public void setEdgeRadius(int aEdgeRadius)
aEdgeRadius
- The radius of the colored edge around the numbers.getEdgeRadius()
public DecimalFormat getDecimalFormat()
setDecimalFormat(java.text.DecimalFormat)
public void setDecimalFormat(DecimalFormat aDecimalFormat)
aDecimalFormat
- The decimal format for the numbers.getDecimalFormat()
public void paintGRIBIcon(Graphics aGraphics, int aX, int aY, double[] aValues)
aGraphics
- the Graphics on which the icon is painted.aX
- the x ordinate at which the icon is painted. aX
is the first
coordinate of the top left corner point of the icon.aY
- the y ordinate at which the icon is painted. aY
is the first
coordinate of the top left corner point of the icon.aValues
- the multi-dimensional value.public int getIconWidth(double[] aValues)
ALcdGRIBIcon
getIconWidth
in class ALcdGRIBIcon
aValues
- the valuespublic int getIconHeight(double[] aValues)
ALcdGRIBIcon
getIconHeight
in class ALcdGRIBIcon
aValues
- the valuespublic void anchorPointSFCT(double[] aValues, Point aPointSFCT)
ALcdGRIBIcon
anchorPointSFCT
in class ALcdGRIBIcon
aValues
- the valuesaPointSFCT
- the point that has to be moved to the location of the anchor point
of this icon.