public static class ILspPaintingOrder.PaintStep extends Object
ILspLayer
and a
TLspPaintRepresentationState
. The order in which painting steps
are performed in an ILspView
is determined by ILspPaintingOrder
.Constructor and Description |
---|
PaintStep(ILspLayer aLayer,
TLspPaintRepresentationState aPaintRepresentationState)
Creates a paint step for the given layer and paint representation state.
|
PaintStep(ILspLayer aLayer,
TLspPaintRepresentationState aPaintRepresentationState,
ILcdLayered aLayered,
int aIndex)
Creates a paint step for the given layer and paint representation state.
|
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Returns the index of the layer in the
getLayered() it belongs to or -1 if
it is unknown. |
ILspLayer |
getLayer()
Returns the layer corresponding to this paint step.
|
ILcdLayered |
getLayered()
Returns the layered that the layer belongs to or
null . |
TLspPaintRepresentationState |
getPaintRepresentationState()
Returns the paint representation state corresponding to this paint step.
|
String |
toString() |
public PaintStep(ILspLayer aLayer, TLspPaintRepresentationState aPaintRepresentationState)
aLayer
- the layer to be paintedaPaintRepresentationState
- the paint representation state to be painted for the given layerpublic PaintStep(ILspLayer aLayer, TLspPaintRepresentationState aPaintRepresentationState, ILcdLayered aLayered, int aIndex)
aLayer
- the layer to be paintedaPaintRepresentationState
- the paint representation state to be painted for the given layeraLayered
- the layered that the layer belongs to or null
if it is unknownaIndex
- the index of the layer in the controller or -1
if it is unknownpublic ILspLayer getLayer()
public TLspPaintRepresentationState getPaintRepresentationState()
public ILcdLayered getLayered()
null
.null
if it is unknownpublic int getIndex()
getLayered()
it belongs to or -1
if
it is unknown.-1
if it is unknowngetLayered()
,
ILcdLayered.indexOf(com.luciad.view.ILcdLayer)