Class TLspGRIBLayerBuilder
java.lang.Object
com.luciad.view.lightspeed.layer.ALspLayerBuilder
com.luciad.format.grib.lightspeed.TLspGRIBLayerBuilder
Deprecated.
The NetCDF decoder should be used to decode GRIB data.
Layer builder 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.
An example of how to use this builder:
ILspLayer layer = TLspGRIBLayerBuilder.newBuilder()
.model( myGribModel )
.build();
- Since:
- 2013.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated.Creates a new layer instance.colorModel(ColorModel aColorModel) Deprecated.Sets the color model to use for the raster visualization.static ILcdParameterizedIconcreateParameterizedIcon(ALcdGRIBIcon aGRIBIcon) Deprecated.Creates a newILcdParameterizedIconbased one the given GRIB icon.Deprecated.Sets the icon of the layer.iconStyle(TLspParameterizedRasterIconStyle aIconStyle) Deprecated.Sets the style to use for icon visualization.Deprecated.Sets the label of the layer.layerStyle(TLspLayerStyle aLayerStyle) Deprecated.Set a layer style to be used during the rendering of the layer.layerType(ILspLayer.LayerType aLayerType) Deprecated.Sets the layer type of the layer.Deprecated.Sets the model of the layer.static TLspGRIBLayerBuilderDeprecated.Returns a new layer builder with the default settingsrasterStyle(TLspRasterStyle aRasterStyle) Deprecated.Sets the style to use for raster visualization.Methods inherited from class com.luciad.view.lightspeed.layer.ALspLayerBuilder
getIcon, getLabel, getLayerStyle, getLayerType, getModel
-
Constructor Details
-
TLspGRIBLayerBuilder
public TLspGRIBLayerBuilder()Deprecated.
-
-
Method Details
-
newBuilder
Deprecated.Returns a new layer builder with the default settings- Returns:
- a new layer builder with the default settings.
-
build
Deprecated.Creates a new layer instance.
The created layer exposes aILspCustomizableStylerwith the configured raster style or parameterized icon style (if any)- Specified by:
buildin classALspLayerBuilder- Returns:
- the new layer instance
-
colorModel
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, based on the type of GRIB data- Returns:
this- See Also:
-
rasterStyle
Deprecated.Sets the style to use for raster visualization.- Parameters:
aRasterStyle- the style to use, or null for a default raster style that makes use of the setcolorModel(java.awt.image.ColorModel)- Returns:
this
-
iconStyle
Deprecated.Sets the style to use for icon visualization.- Parameters:
aIconStyle- the icon style to use, ornullfor a default GRIB icon.- Returns:
this
-
model
Deprecated.Sets the model of the layer.- Overrides:
modelin classALspLayerBuilder- Parameters:
aModel- a model- Returns:
this- Throws:
IllegalArgumentException- if the given model is not a GRIB model- See Also:
-
label
Deprecated.Description copied from class:ALspLayerBuilderSets the label of the layer. This is a short textual representation for it, often used to represent the layer to end-users. The default value isnull.- Overrides:
labelin classALspLayerBuilder- Parameters:
aLabel- the label- Returns:
- this builder
- See Also:
-
layerType
Deprecated.Description copied from class:ALspLayerBuilderSets the layer type of the layer. The default value isILspLayer.LayerType.EDITABLE.- Overrides:
layerTypein classALspLayerBuilder- Parameters:
aLayerType- the layer type- Returns:
- this builder
- See Also:
-
icon
Deprecated.Description copied from class:ALspLayerBuilderSets the icon of the layer. The default value isnull.- Overrides:
iconin classALspLayerBuilder- Parameters:
aIcon- the icon- Returns:
- this builder
- See Also:
-
layerStyle
Deprecated.Description copied from class:ALspLayerBuilderSet a layer style to be used during the rendering of the layer.TLspLayerStyleis used to style the layer as a whole. Layer style can for example modify the transparency of a layer. Also, layer style can be modified after building the layer by callingILspLayer.setLayerStyle(TLspLayerStyle).- Overrides:
layerStylein classALspLayerBuilder- Parameters:
aLayerStyle- the layer style. Must not benull. If you want to set the default layer style, setTLspLayerStyle.newBuilder().build()- Returns:
- this
- See Also:
-
createParameterizedIcon
Deprecated.Creates a newILcdParameterizedIconbased one the given GRIB icon.- Parameters:
aGRIBIcon- a GRIB icon.- Returns:
- a
ILcdParameterizedIcon.
-