@LcdService(service=ILcdGXYLayerFactory.class, priority=20000) public class TLcdNetCDFGXYLayerFactory extends Object implements ILcdGXYLayerFactory
The default layer factory for NetCDF and GRIB models. All models created by the NetCDF model decoder are supported.
This layer factory:
TLcdNetCDFModelDescriptor
as
model descriptor.TLcdNetCDFGXYPainterProvider
to paint its elementsThe styling can be customized by using a custom TLcdNetCDFGXYPainterProvider
. This allows you for
example to modify the color map, or to use ILcdParameterizedIcon to paint the data as a grid of icons. This is also demonstrated in the
decoder.netcdf.gxy
sample.
Constructor and Description |
---|
TLcdNetCDFGXYLayerFactory() |
Modifier and Type | Method and Description |
---|---|
ILcdGXYLayer |
createGXYLayer(ILcdModel aModel)
Creates an
ILcdGXYLayer for representing
an ILcdModel on an ILcdGXYView . |
public ILcdGXYLayer createGXYLayer(ILcdModel aModel)
ILcdGXYLayerFactory
ILcdGXYLayer
for representing
an ILcdModel
on an ILcdGXYView
.createGXYLayer
in interface ILcdGXYLayerFactory
aModel
- a model that needs to be visualized in an ILcdGXYView
null
if such a layer cannot be createdTLcdGXYViewJPanel.setGXYLayerFactory(com.luciad.view.gxy.ILcdGXYLayerFactory)