public final class TLcyGXYLspAsynchronousFormatWrapper extends TLcyAsynchronousFormatWrapper
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
.
Modifier and Type | Class and Description |
---|---|
static interface |
TLcyGXYLspAsynchronousFormatWrapper.GXYLspLayerFactory
A factory that can create an
ILspLayer equivalent of a given ILcdGXYLayer
. |
Constructor and Description |
---|
TLcyGXYLspAsynchronousFormatWrapper(ALcyFormat aFormat,
TLcyGXYLspAsynchronousFormatWrapper.GXYLspLayerFactory aGXYLspLayerFactory)
Creates a wrapper for the specified
ALcyFormat . |
TLcyGXYLspAsynchronousFormatWrapper(ALcyFormat aFormat,
TLcyGXYLspAsynchronousFormatWrapper.GXYLspLayerFactory aGXYLspLayerFactory,
ILcdFilter<ILcdGXYLayer> aLayerFilter)
Creates a wrapper for the specified
ALcyFormat . |
Modifier and Type | Method and Description |
---|---|
ILcdGXYLayerFactory |
createGXYLayerFactory()
Creates a
ILcdGXYLayerFactory for this format. |
ALcyWorkspaceObjectCodec[] |
createGXYLayerWorkspaceCodecs()
Creates the
ALcyWorkspaceObjectCodec s that can encode and decode the layers created
by the layer factory of this format. |
TLcyGXYLspAsynchronousFormatWrapper.GXYLspLayerFactory |
getLspLayerFactory()
Returns the
GXYLspLayerFactory used by this format to produce Lightspeed layers. |
createAsynchronousPaintHintProvider, createDomainObjectCustomizerPanelFactories, createDomainObjectCustomizerPanelWorkspaceCodecs, createGXYLayerCustomizerPanelFactories, createGXYLayerCustomizerPanelWorkspaceCodecs, createGXYLayerDecoders, createGXYLayerEncoders, createGXYLayerSelectionTransferHandlers, createGXYLayerStyleProvider, createGXYLayerTypeProvider, createLabelPlacementHintProvider, createLayerHeightProviderFactory, createModelCustomizerPanelFactories, createModelCustomizerPanelWorkspaceCodecs, createModelEncoderCustomizerPanelFactories, createModelEncoderCustomizerPanelWorkspaceCodecs, createModelMetaDataCustomizerPanelWorkspaceCodecs, isGXYLayerOfFormat
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
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
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.
aFormat
- The ALcyFormat
for which to provide asynchronous painting using Lightspeed
rendering.aGXYLspLayerFactory
- The factory used to support Lightspeed renderingpublic 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.
aFormat
- The ALcyFormat
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. If
null
, all created layers are painted asynchronously.public final ILcdGXYLayerFactory createGXYLayerFactory()
Creates a 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.
createGXYLayerFactory
in class TLcyAsynchronousFormatWrapper
ILcdGXYLayerFactory
for this data format. May be null
.TLcyGXYAsynchronousLayerFactory
public ALcyWorkspaceObjectCodec[] createGXYLayerWorkspaceCodecs()
ALcyWorkspaceObjectCodec
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.createGXYLayerWorkspaceCodecs
in class TLcyAsynchronousFormatWrapper
ALcyWorkspaceObjectCodec
instances. Must not be
null
but may have length 0
. Must not contain
null
.TLcyGXYAsynchronousLayerWorkspaceCodec
public TLcyGXYLspAsynchronousFormatWrapper.GXYLspLayerFactory getLspLayerFactory()
GXYLspLayerFactory
used by this format to produce Lightspeed layers.GXYLspLayerFactory
used by this format to produce Lightspeed layers