Package com.luciad.view.gxy.asynchronous
package com.luciad.view.gxy.asynchronous
Provides layer-specific asynchronous painting.
This package provides functionality to paint existing ILcdGXYLayer instances
in a thread that differs from the event dispatch thread.
To protect concurrent access to such a layer, this functionality is enabled by wrapping
the layer in a ILcdGXYAsynchronousLayerWrapper instance.
The wrapped layer can then be added to a view and will paint the original layer asynchronously.
Refer to the javadoc of ILcdGXYAsynchronousLayerWrapper for more information.
- Since:
- 7.2
-
ClassDescriptionA layer runnable encapsulates a piece of code that allows to change and access an asynchronously painted layer in a safe way.Interface for layers that paint themselves asynchronously.Interface for classes that wish to be informed of asynchronous painting events.This interface defines a queue for layer paint requests, executing them asynchronously if necessary.Interface for objects describing changes in the state of a layer.Interface for retrieving and applying layer modifications.
TLcdGXYAsynchronousEditableLabelsLayerWrapperextension forlayer nodes.Implementation ofILcdGXYAsynchronousLayerWrapperforILcdGXYEditableLabelsLayerinstances, wrapping and protecting the latter interface's state.This class monitors the asynchronous painting of a view's layers, allowing to query it for the following purposes:TLcdGXYAsynchronousLayerMonitor.isGXYLayerPainting(com.luciad.view.gxy.ILcdGXYLayer): check if a specific layer is being painted asynchronouslyTLcdGXYAsynchronousLayerMonitor.isGXYLayerBusy(com.luciad.view.gxy.ILcdGXYLayer): check if a specific layer is involved in an paint queue-related operation All interaction and event throwing is on the Event Dispatch Thread (EDT).TLcdGXYAsynchronousLayerWrapperextension forlayer nodes.Implementation ofILcdGXYAsynchronousLayerWrapperforILcdGXYLayerinstances, wrapping and protecting the latter interface's state.A paint queue for multiple views, delegating to several ILcdGXYAsynchronousPaintQueue instances.Class for events related to asynchronous painting.ThisILcdGXYAsynchronousPaintQueuepaints layers asynchronously in a background thread, using off-screen image buffers.Enumeration of the interrupt modes.Deprecated.ILcdGXYViewLabelPlacer offers more powerful and flexible decluttering functionality