public class TLcyGXYAsynchronousLayerTypeProvider extends Object implements ILcyGXYLayerTypeProvider
BACKGROUND, EDITABLE, REALTIME, UNKNOWN
Constructor and Description |
---|
TLcyGXYAsynchronousLayerTypeProvider(ILcyLucyEnv aLucyEnv,
ILcyGXYLayerTypeProvider aLayerTypeProvider)
Creates a new layer type provider wrapper.
|
Modifier and Type | Method and Description |
---|---|
int |
getGXYLayerType(ILcdGXYLayer aGXYLayer)
Returns the type of a specified layer.
|
public TLcyGXYAsynchronousLayerTypeProvider(ILcyLucyEnv aLucyEnv, ILcyGXYLayerTypeProvider aLayerTypeProvider)
aLucyEnv
- Lucy environmentaLayerTypeProvider
- existing layer type provider to wrap. The provider will be offered layers that
are safe to cast and access.public int getGXYLayerType(ILcdGXYLayer aGXYLayer)
ILcyGXYLayerTypeProvider
ILcyGXYLayerType.UNKNOWN
should be returned. The layer type must be one of the constants defined
in ILcyGXYLayerType
.getGXYLayerType
in interface ILcyGXYLayerTypeProvider
aGXYLayer
- the layer whose type we wish to retrieveILcyGXYLayerType