public final class TLspPaintRepresentation extends Object
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
.ILspLayer.getPaintRepresentations()
Modifier and Type | Field and Description |
---|---|
static TLspPaintRepresentation |
BODY
Identifies all paint representations (regular, selected, edited)
for the regular body or graphical representation of an object.
|
static TLspPaintRepresentation |
HANDLE
Identifies paint representations for the handles of an object that is being edited.
|
static TLspPaintRepresentation |
LABEL
Identifies all paint representations (regular, selected, edited)
for the regular label or textual representation of an object.
|
Modifier and Type | Method and Description |
---|---|
static TLspPaintRepresentation |
getInstance(String aName,
int aSortOrder)
Returns the paint representation with the specified name and sort order.
|
String |
getName() |
int |
getSortOrder() |
String |
toString() |
public static final TLspPaintRepresentation BODY
public static final TLspPaintRepresentation LABEL
public static final TLspPaintRepresentation HANDLE
public static TLspPaintRepresentation getInstance(String aName, int aSortOrder)
aName
- the name of the paint representationaSortOrder
- the sort order that can be used by ILspPaintingOrder
public String getName()
public int getSortOrder()