Package com.luciad.view.lightspeed
Class ILspPaintingOrder.PaintStep
java.lang.Object
com.luciad.view.lightspeed.ILspPaintingOrder.PaintStep
- Enclosing interface:
ILspPaintingOrder
Identifies a painting step consisting of an
ILspLayer
and a
TLspPaintRepresentationState
. The order in which painting steps
are performed in an ILspView
is determined by ILspPaintingOrder
.- Since:
- 2012.0
-
Constructor Summary
ConstructorDescriptionPaintStep
(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. -
Method Summary
Modifier and TypeMethodDescriptionint
getIndex()
Returns the index of the layer in thegetLayered()
it belongs to or-1
if it is unknown.getLayer()
Returns the layer corresponding to this paint step.Returns the layered that the layer belongs to ornull
.Returns the paint representation state corresponding to this paint step.toString()
-
Constructor Details
-
PaintStep
Creates a paint step for the given layer and paint representation state.- Parameters:
aLayer
- the layer to be paintedaPaintRepresentationState
- the paint representation state to be painted for the given layer
-
PaintStep
public PaintStep(ILspLayer aLayer, TLspPaintRepresentationState aPaintRepresentationState, ILcdLayered aLayered, int aIndex) Creates a paint step for the given layer and paint representation state.- Parameters:
aLayer
- the layer to be paintedaPaintRepresentationState
- the paint representation state to be painted for the given layeraLayered
- the layered that the layer belongs to ornull
if it is unknownaIndex
- the index of the layer in the controller or-1
if it is unknown
-
-
Method Details
-
getLayer
Returns the layer corresponding to this paint step.- Returns:
- the layer corresponding to this paint step
-
getPaintRepresentationState
Returns the paint representation state corresponding to this paint step.- Returns:
- the paint representation state corresponding to this paint step
-
getLayered
Returns the layered that the layer belongs to ornull
.- Returns:
- the layered that the layer belongs to or
null
if it is unknown
-
getIndex
public int getIndex()Returns the index of the layer in thegetLayered()
it belongs to or-1
if it is unknown.- Returns:
- the index or
-1
if it is unknown - See Also:
-
toString
-