Package com.luciad.view.lightspeed.layer
Class TLspPaintRepresentationState
java.lang.Object
com.luciad.view.lightspeed.layer.TLspPaintRepresentationState
Identifies a visual representation of an object for a specific paint state
(regular, selected, or edited). Consists of a
TLspPaintRepresentation and a
TLspPaintState
.- Since:
- 2012.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLspPaintRepresentationState
Identifies the edited body representation of an object.static final TLspPaintRepresentationState
Identifies the edited label representation of an object.static final TLspPaintRepresentationState
Identifies the regular body or graphical representation of an object.static final TLspPaintRepresentationState
Identifies the regular label or textual representation of an object.static final TLspPaintRepresentationState
Identifies the selected body representation of an object.static final TLspPaintRepresentationState
Identifies the selected label representation of an object. -
Method Summary
Modifier and TypeMethodDescriptionstatic TLspPaintRepresentationState
getInstance
(TLspPaintRepresentation aPaintRepresentation, TLspPaintState aPaintState) Combines the given paint representation and paint state.Gets the paint representation.Gets the paint state that defines whether this representation is used for selected, edited or all other objects.toString()
-
Field Details
-
REGULAR_BODY
Identifies the regular body or graphical representation of an object. -
SELECTED_BODY
Identifies the selected body representation of an object. -
EDITED_BODY
Identifies the edited body representation of an object. -
REGULAR_LABEL
Identifies the regular label or textual representation of an object. -
SELECTED_LABEL
Identifies the selected label representation of an object. -
EDITED_LABEL
Identifies the edited label representation of an object.
-
-
Method Details
-
getInstance
public static TLspPaintRepresentationState getInstance(TLspPaintRepresentation aPaintRepresentation, TLspPaintState aPaintState) Combines the given paint representation and paint state.- Parameters:
aPaintRepresentation
- the paint representationaPaintState
- the paint state- Returns:
- the combination of the given paint representation and paint state
-
toString
-
getPaintRepresentation
Gets the paint representation. This can be for examplePaintRepresentation.BODY
orPaintRepresentation.LABEL
.- Returns:
- the name of this paint representation
-
getPaintState
Gets the paint state that defines whether this representation is used for selected, edited or all other objects.- Returns:
- the paint state
-