Lightspeed view
.public class TLcdGXYLspAsynchronousPaintQueueManager extends TLcdGXYAsynchronousPaintQueueManager
TLcdGXYAsynchronousPaintQueueManager
that assigns instances of
TLcdGXYLspAsynchronousLayerWrapper
to a TLcdGXYLspAsynchronousPaintQueue
and that
prevents them from sharing a paint queue with other implementations of
ILcdGXYAsynchronousLayerWrapper
.TLcdGXYLspAsynchronousLayerWrapper
ALcdGXYAsynchronousPaintQueueManager.PaintBlock
Constructor and Description |
---|
TLcdGXYLspAsynchronousPaintQueueManager()
Deprecated.
Default constructor.
|
TLcdGXYLspAsynchronousPaintQueueManager(ILcdGXYAsynchronousPaintHintProvider aPaintHintProvider)
Deprecated.
Creates a new
TLcdGXYAsynchronousPaintQueueManager which retrieves the
TLcdGXYAsynchronousPaintHint instances from aPaintHintProvider . |
Modifier and Type | Method and Description |
---|---|
protected TLcdGXYAsynchronousPaintHint |
combine(TLcdGXYAsynchronousPaintHint aPaintHint,
TLcdGXYAsynchronousPaintHint aAnotherPaintHint)
Deprecated.
Combine two
TLcdGXYAsynchronousPaintHint instances into a new
TLcdGXYAsynchronousPaintHint , or returns null when the two paint
hints cannot be combined. |
protected ILcdGXYAsynchronousPaintQueue |
createAsynchronousPaintQueue(TLcdGXYAsynchronousPaintHint aPaintHint,
ILcdGXYAsynchronousPaintQueue aPaintQueue)
Deprecated.
Create an
ILcdGXYAsynchronousPaintQueue matching the settings of
aPaintHint . |
canMergePaintBlocks, createAsynchronousPaintQueue, evaluateModifiedPaintBlocks, getDefaultBorderFactor, getDefaultIntermediateUpdateRange, getDefaultInterruptMode, getDefaultInterruptPainting, getDefaultPaintingMode, getDefaultSkipDelay, getDefaultSynchronousDelay, getDefaultThreadPriority, getPaintHintProvider, setDefaultBorderFactor, setDefaultIntermediateUpdateRange, setDefaultInterruptMode, setDefaultInterruptPainting, setDefaultPaintingMode, setDefaultSkipDelay, setDefaultSynchronousDelay, setDefaultThreadPriority
getGXYView, getPaintBlock, getPaintBlocks, mergePaintBlocksSFCT, replacePaintBlockSFCT, setGXYView, splitPaintBlockSFCT
public TLcdGXYLspAsynchronousPaintQueueManager()
Default constructor.
The created paint queue manager will use a
ILcdGXYAsynchronousPaintHintProvider
, which returns a
TLcdGXYAsynchronousPaintHint
with default settings for every
ILcdGXYAsynchronousLayerWrapper
.
Warning: this manager will do nothing until
setGXYView
is called.
public TLcdGXYLspAsynchronousPaintQueueManager(ILcdGXYAsynchronousPaintHintProvider aPaintHintProvider)
Creates a new TLcdGXYAsynchronousPaintQueueManager
which retrieves the
TLcdGXYAsynchronousPaintHint
instances from aPaintHintProvider
.
Warning: this manager will do nothing until
setGXYView
is called.
aPaintHintProvider
- The paint hint provider. Can not be null
.protected ILcdGXYAsynchronousPaintQueue createAsynchronousPaintQueue(TLcdGXYAsynchronousPaintHint aPaintHint, ILcdGXYAsynchronousPaintQueue aPaintQueue)
TLcdGXYAsynchronousPaintQueueManager
Create an ILcdGXYAsynchronousPaintQueue
matching the settings of
aPaintHint
.
createAsynchronousPaintQueue
in class TLcdGXYAsynchronousPaintQueueManager
aPaintHint
- The TLcdGXYAsynchronousPaintHint
encapsulating the settings for
the ILcdGXYAsynchronousPaintQueue
which must be created.aPaintQueue
- A ILcdGXYAsynchronousPaintQueue
which may be returned (with
updated settings). Can be null
. In this case a new instance
must be created, when not null
aPaintQueue
may be
re-used as return value but this is not obligatory.ILcdGXYAsynchronousPaintQueue
matching the settings of this factoryprotected TLcdGXYAsynchronousPaintHint combine(TLcdGXYAsynchronousPaintHint aPaintHint, TLcdGXYAsynchronousPaintHint aAnotherPaintHint)
Combine two TLcdGXYAsynchronousPaintHint
instances into a new
TLcdGXYAsynchronousPaintHint
, or returns null
when the two paint
hints cannot be combined.
By default, this method performs an attempt to combine the key-value pairs of the
properties. Properties with a common
key will be combined if possible by using the combine
method of TLcdGXYAsynchronousPaintHint.Combinable
. In case combining two
common properties returns null
, it will be considered impossible to combine
aPaintHint
and aAnotherPaintHint
and this method will return
null
.
Properties with a key which is only contained in one of the paint hints will be included in the result as well.
The Lightspeed mode is only combined if both hints have the same value.combine
in class TLcdGXYAsynchronousPaintQueueManager
aPaintHint
- The first paint hint. Must not be null
.aAnotherPaintHint
- The second paint hint. Must not be null
.aPaintHint
and aAnotherPaintHint
, or
null
when both hints cannot be combined.