Class TLcyGXYLspAsynchronousFormatWrapper
Decorator for a synchronous ALcyFormat
that makes the given format support
asynchronous painting using Lightspeed rendering, if it is supported by the hardware.
To support Lightspeed rendering of layers, this format's layer factory makes use of the
wrapped format's GXY layer factory and a TLcyGXYLspAsynchronousFormatWrapper.GXYLspLayerFactory
to produce instances of
TLcdGXYLspAsynchronousLayerWrapper
. Please consult their documentation for more
information.
Note that just wrapping a format with this asynchronous decorator isn't enough. If the layers have to be painted asynchronously, the asynchronous add-on needs to be loaded as well.
To support asynchronous ILcdLayerTreeNode
s, you should wrap this decorator with a
TLcyGXYLspAsynchronousLayerTreeNodeFormatWrapper
.
- Since:
- 2012.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
A factory that can create anILspLayer
equivalent of a givenILcdGXYLayer
. -
Constructor Summary
ConstructorDescriptionTLcyGXYLspAsynchronousFormatWrapper
(ALcyFormat aFormat, TLcyGXYLspAsynchronousFormatWrapper.GXYLspLayerFactory aGXYLspLayerFactory) Creates a wrapper for the specifiedALcyFormat
.TLcyGXYLspAsynchronousFormatWrapper
(ALcyFormat aFormat, TLcyGXYLspAsynchronousFormatWrapper.GXYLspLayerFactory aGXYLspLayerFactory, ILcdFilter<ILcdGXYLayer> aLayerFilter) Creates a wrapper for the specifiedALcyFormat
. -
Method Summary
Modifier and TypeMethodDescriptionfinal ILcdGXYLayerFactory
Creates aILcdGXYLayerFactory
for this format.Creates theALcyWorkspaceObjectCodec
s that can encode and decode the layers created by the layer factory of this format.Returns theGXYLspLayerFactory
used by this format to produce Lightspeed layers.Methods inherited from class com.luciad.lucy.format.TLcyAsynchronousFormatWrapper
createAsynchronousPaintHintProvider, createDomainObjectCustomizerPanelFactories, createDomainObjectCustomizerPanelWorkspaceCodecs, createGXYLayerCustomizerPanelFactories, createGXYLayerCustomizerPanelWorkspaceCodecs, createGXYLayerDecoders, createGXYLayerEncoders, createGXYLayerSelectionTransferHandlers, createGXYLayerStyleProvider, createGXYLayerTypeProvider, createLabelPlacementHintProvider, createLayerHeightProviderFactory, createModelCustomizerPanelFactories, createModelCustomizerPanelWorkspaceCodecs, createModelEncoderCustomizerPanelFactories, createModelEncoderCustomizerPanelWorkspaceCodecs, createModelMetaDataCustomizerPanelWorkspaceCodecs, isGXYLayerOfFormat
Methods inherited from class com.luciad.lucy.format.ALcyFormatWrapper
createAll, createBalloonContentProviders, createDataPropertyValueCustomizerPanelFactories, createDataSourceHandlerFileTypeDescriptorGroups, createDataSourceHandlerFileTypeDescriptors, createDataSourceHandlers, createDefaultModelDescriptorFactories, createDomainObjectWorkspaceCodecs, createFormatBarFactory, createGXYLayerDecoderFileTypeDescriptors, createGXYLayerEncoderFileTypeDescriptors, createLayerMeasureProviderFactory, createModelContentTypeProvider, createModelDecoderFileTypeDescriptorGroups, createModelDecoderFileTypeDescriptors, createModelDecoders, createModelEncoderFileTypeDescriptors, createModelEncoders, createModelFactory, createModelHeightProviderFactory, createModelMeasureProviderFactory, createModelMetaDataCustomizerPanelFactories, createModelWorkspaceCodecs, getFormat, getLongPrefix, getLucyEnv, getShortPrefix, isModelOfFormat
Methods inherited from class com.luciad.lucy.format.ALcyFormat
createGXYLayerOfFormatFilter, createLayerContextOfFormatFilter, createModelContextOfFormatFilter, createModelOfFormatFilter, getAsynchronousPaintHintProvider, getBalloonContentProviders, getDataPropertyValueCustomizerPanelFactories, getDataSourceHandlerFileTypeDescriptorGroups, getDataSourceHandlerFileTypeDescriptors, getDataSourceHandlers, getDefaultModelDescriptorFactories, getDomainObjectCustomizerPanelFactories, getDomainObjectCustomizerPanelWorkspaceCodecs, getDomainObjectWorkspaceCodecs, getFormatBarFactory, getGXYLayerCustomizerPanelFactories, getGXYLayerCustomizerPanelWorkspaceCodecs, getGXYLayerDecoderFileTypeDescriptors, getGXYLayerDecoders, getGXYLayerEncoderFileTypeDescriptors, getGXYLayerEncoders, getGXYLayerFactory, getGXYLayerSelectionTransferHandlers, getGXYLayerStyleProvider, getGXYLayerTypeProvider, getGXYLayerWorkspaceCodecs, getLabelPlacementHintProvider, getLayerHeightProviderFactory, getLayerMeasureProviderFactory, getModelContentTypeProvider, getModelCustomizerPanelFactories, getModelCustomizerPanelWorkspaceCodecs, getModelDecoderFileTypeDescriptorGroups, getModelDecoderFileTypeDescriptors, getModelDecoders, getModelEncoderCustomizerPanelFactories, getModelEncoderCustomizerPanelWorkspaceCodecs, getModelEncoderFileTypeDescriptors, getModelEncoders, getModelFactory, getModelHeightProviderFactory, getModelMeasureProviderFactory, getModelMetaDataCustomizerPanelFactories, getModelMetaDataCustomizerPanelWorkspaceCodecs, getModelWorkspaceCodecs, toString
-
Constructor Details
-
TLcyGXYLspAsynchronousFormatWrapper
public TLcyGXYLspAsynchronousFormatWrapper(ALcyFormat aFormat, TLcyGXYLspAsynchronousFormatWrapper.GXYLspLayerFactory aGXYLspLayerFactory) Creates a wrapper for the specified
ALcyFormat
. All layers of this format will be painted asynchronously, using Lightspeed rendering if the hardware supports it.- Parameters:
aFormat
- TheALcyFormat
for which to provide asynchronous painting using Lightspeed rendering.aGXYLspLayerFactory
- The factory used to support Lightspeed rendering
-
TLcyGXYLspAsynchronousFormatWrapper
public TLcyGXYLspAsynchronousFormatWrapper(ALcyFormat aFormat, TLcyGXYLspAsynchronousFormatWrapper.GXYLspLayerFactory aGXYLspLayerFactory, ILcdFilter<ILcdGXYLayer> aLayerFilter) Creates a wrapper for the specified
ALcyFormat
. All layers of this format will be painted asynchronously, using Lightspeed rendering if the hardware supports it.- Parameters:
aFormat
- TheALcyFormat
for which to provide asynchronous painting using Lightspeed renderingaGXYLspLayerFactory
- The factory used to support Lightspeed rendering.aLayerFilter
- to filter used to determine if the created layers should be painted asynchronously. Ifnull
, all created layers are painted asynchronously.
-
-
Method Details
-
createGXYLayerFactory
Creates a
The factory can also configure label algorithms on the created layers.ILcdGXYLayerFactory
for this format.Combines the wrapped format's GXY layer factory and this format's
GXYLspLayerFactory
into a single factory that produces asynchronous layers.- Overrides:
createGXYLayerFactory
in classTLcyAsynchronousFormatWrapper
- Returns:
- the
ILcdGXYLayerFactory
for this data format. May benull
. - See Also:
-
createGXYLayerWorkspaceCodecs
Creates theALcyWorkspaceObjectCodec
s that can encode and decode the layers created by the layer factory of this format. The codecs' methods do not interfere with asynchronous painting.- Overrides:
createGXYLayerWorkspaceCodecs
in classTLcyAsynchronousFormatWrapper
- Returns:
- An array of
ALcyWorkspaceObjectCodec
instances. Must not benull
but may have length0
. Must not containnull
. - See Also:
-
getLspLayerFactory
Returns theGXYLspLayerFactory
used by this format to produce Lightspeed layers.- Returns:
- The
GXYLspLayerFactory
used by this format to produce Lightspeed layers
-