public class TLcyGXYAsynchronousLayerFactory extends Object implements ILcdGXYLayerFactory
Constructor and Description |
---|
TLcyGXYAsynchronousLayerFactory(ILcyLucyEnv aLucyEnv,
ILcdGXYLayerFactory aLayerFactory,
ILcdFilter aAsynchronousLayerFilter)
Creates a new layer factory.
|
Modifier and Type | Method and Description |
---|---|
ILcdGXYLayer |
createGXYLayer(ILcdModel aModel)
This method creates an
ILcdGXYLayer for representing
an ILcdModel on an ILcdGXYView . |
public TLcyGXYAsynchronousLayerFactory(ILcyLucyEnv aLucyEnv, ILcdGXYLayerFactory aLayerFactory, ILcdFilter aAsynchronousLayerFilter)
aLucyEnv
- Lucy environmentaLayerFactory
- existing factory to wrap. Created layers will be made asynchronous.aAsynchronousLayerFilter
- the filter to use to determine if a created layer should
be painted asynchronously. If null, all created layers are painted asynchronously.public ILcdGXYLayer createGXYLayer(ILcdModel aModel)
ILcdGXYLayer
for representing
an ILcdModel
on an ILcdGXYView
.
It creates a layer using the wrapped factory and makes it asynchronous if it is accepted by
the asynchronous layer filter, using
ALcyAsynchronousPaintFacade.createGXYAsynchronousLayer(com.luciad.view.gxy.ILcdGXYLayer)
createGXYLayer
in interface ILcdGXYLayerFactory
aModel
- the model for which to create a layerALcyAsynchronousPaintFacade.createGXYAsynchronousLayer(com.luciad.view.gxy.ILcdGXYLayer)
TLcdGXYViewJPanel.setGXYLayerFactory(com.luciad.view.gxy.ILcdGXYLayerFactory)