Package com.luciad.view.lightspeed.layer
Class TLspPaintRepresentation
java.lang.Object
com.luciad.view.lightspeed.layer.TLspPaintRepresentation
Identifies a single visual representation of an object. The two commonly
used representations are the geometries of objects (
BODY
) and
textual representations (LABEL
).
Note that paint representations have a sort order
property, which is used by TLspPaintingOrder
to determine the order in which representations are painted in a view. This
property can be used to insert custom new representations at the desired
position in the paint cycle, without having to implement a new
ILspPaintingOrder
.- Since:
- 2012.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLspPaintRepresentation
Identifies all paint representations (regular, selected, edited) for the regular body or graphical representation of an object.static final TLspPaintRepresentation
Identifies paint representations for the handles of an object that is being edited.static final TLspPaintRepresentation
Identifies all paint representations (regular, selected, edited) for the regular label or textual representation of an object. -
Method Summary
Modifier and TypeMethodDescriptionstatic TLspPaintRepresentation
getInstance
(String aName, int aSortOrder) Returns the paint representation with the specified name and sort order.getName()
int
toString()
-
Field Details
-
BODY
Identifies all paint representations (regular, selected, edited) for the regular body or graphical representation of an object. The default sort order is 100. -
LABEL
Identifies all paint representations (regular, selected, edited) for the regular label or textual representation of an object. The default sort order is 200. -
HANDLE
Identifies paint representations for the handles of an object that is being edited. The default sort order is 300.
-
-
Method Details
-
getInstance
Returns the paint representation with the specified name and sort order.- Parameters:
aName
- the name of the paint representationaSortOrder
- the sort order that can be used byILspPaintingOrder
- Returns:
- the paint representation
-
getName
- Returns:
- the unique name of this paint representation
-
getSortOrder
public int getSortOrder()- Returns:
- the sort order of this paint representation
-
toString
-