Package com.luciad.format.grib.gxy
Class TLcdGRIBGXYPainterProvider
java.lang.Object
com.luciad.format.grib.gxy.TLcdGRIBGXYPainterProvider
- All Implemented Interfaces:
ILcdCloneable
,ILcdGXYPainterProvider
,Serializable
,Cloneable
@Deprecated
public class TLcdGRIBGXYPainterProvider
extends Object
implements ILcdGXYPainterProvider
Deprecated.
The NetCDF decoder should be used to decode GRIB data.
Painter provider for GRIB models, visualizing GRIB 1 and GRIB 2 raster and multi-valued raster models. It provides sensible coloring and icons defaults for many GRIB types.
This painter provider paints GRIB data as rasters or as icons. Icon visualization is used whenever the GRIB
objects implement ILcdMultivaluedRaster
. In the other case,
raster visualization is used.
- Since:
- 2013.0
- See Also:
-
Constructor Summary
ConstructorDescriptionTLcdGRIBGXYPainterProvider
(ILcdModelDescriptor aModelDescriptor) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Deprecated.RedefinesObject.clone
to make it public.protected TLcdGRIBRasterPainter
createMultiValuedRasterPainter
(TLcdMultivaluedRasterModelDescriptor aModelDescriptor) Deprecated.Creates and configures a multi-valued raster painter for the given model descriptor.protected ILcdRasterPainter
createRasterPainter
(TLcdGRIBModelDescriptor aModelDescriptor) Deprecated.Creates and configures a raster painter for the given model descriptor.Deprecated.Returns the currently set color model for the raster visualization.Deprecated.Returns the icon to use for multi-valued rasters (if any).getGXYPainter
(Object aObject) Deprecated.Finds anILcdGXYPainter
that can be used to paint or locate the object passed.int
Deprecated.Returns the grid spacing of of multi-valued raster icons (if any), expressed in pixels.void
setColorModel
(ColorModel aColorModel) Deprecated.Sets the color model to use for the raster visualization.void
setGRIBIcon
(ILcdGRIBIcon aIcon) Deprecated.Sets the icon to use for multi-valued rasters (if any).void
setIconSpacing
(int aIconSpacing) Deprecated.Sets the grid spacing of multi-valued raster icons (if any), expressed in pixels.
-
Constructor Details
-
TLcdGRIBGXYPainterProvider
Deprecated.
-
-
Method Details
-
getGXYPainter
Deprecated.Description copied from interface:ILcdGXYPainterProvider
Finds anILcdGXYPainter
that can be used to paint or locate the object passed.The painter provider is responsible for setting the object to the painter before returning the painter. An implementation should therefore have the following structure:
public ILcdGXYPainter getGXYPainter(Object aObject) { ILcdGXYPainter painter = ... // find the painter for the object if (painter != null) { painter.setObject(aObject); } return painter; }
- Specified by:
getGXYPainter
in interfaceILcdGXYPainterProvider
- Parameters:
aObject
- the object to find a painter for- Returns:
- a painter that can be used to paint or locate the object; or null if no painter could be found for the given object, or the object could not be set on the retrieved painter.
-
createRasterPainter
Deprecated.Creates and configures a raster painter for the given model descriptor.- Returns:
- a configured raster painter
-
createMultiValuedRasterPainter
protected TLcdGRIBRasterPainter createMultiValuedRasterPainter(TLcdMultivaluedRasterModelDescriptor aModelDescriptor) Deprecated.Creates and configures a multi-valued raster painter for the given model descriptor.- Returns:
- a configured GRIB raster painter
-
setGRIBIcon
Deprecated.Sets the icon to use for multi-valued rasters (if any). If null, an attempt is made to create an appropriate icon.
The specified icon will be painted at regular grid locations in the view.- Parameters:
aIcon
- the icon to use, or null for a default icon- See Also:
-
getGRIBIcon
Deprecated.Returns the icon to use for multi-valued rasters (if any).- Returns:
- the icon to use for multi-valued rasters
-
setColorModel
Deprecated.Sets the color model to use for the raster visualization.- Parameters:
aColorModel
- the color model to use for the raster visualization, or null for a default color model- See Also:
-
getColorModel
Deprecated.Returns the currently set color model for the raster visualization.- Returns:
- the currently set color model for the raster visualization, or null if a default is used
-
getIconSpacing
public int getIconSpacing()Deprecated.Returns the grid spacing of of multi-valued raster icons (if any), expressed in pixels. -
setIconSpacing
public void setIconSpacing(int aIconSpacing) Deprecated.Sets the grid spacing of multi-valued raster icons (if any), expressed in pixels.- See Also:
-
clone
Deprecated.Description copied from interface:ILcdGXYPainterProvider
RedefinesObject.clone
to make it public.- Specified by:
clone
in interfaceILcdCloneable
- Specified by:
clone
in interfaceILcdGXYPainterProvider
- Overrides:
clone
in classObject
- Returns:
- a clone of this painter provider.
- See Also:
-