Class OverLengthLabelMode
- java.lang.Object
-
- com.supermap.data.Enum
-
- com.supermap.mapping.OverLengthLabelMode
-
public final class OverLengthLabelMode extends Enum
This class defines the constants representing how to handle overlong labels.For tags whose length exceeds the maximum length of the label set is called a long label, The maximum length of the label can be returned and set by the methods
ThemeLabel.getMaxLabelLength()
and methodsThemeLabel.getMaxLabelLength()
in the classThemeLabel
. SuperMap component products provide three ultra-long label processing to control the display of long tags.
-
-
Field Summary
Fields Modifier and Type Field and Description static OverLengthLabelMode
NEWLINE
Linefeed display. This mode displays a long line of characters that exceeds the maximum length of the specified label, that is, multiple lines are used to display the long label.static OverLengthLabelMode
NONE
Do not process long tags. This is the default mode, that is, all of this line shows this long label.static OverLengthLabelMode
OMIT
omit the overrides. This mode exposes the portion of the long label that exceeds the maximum length of the specified label (MaxLabelLength) with an ellipsis.
-
-
-
Field Detail
-
NONE
public static final OverLengthLabelMode NONE
Do not process long tags. This is the default mode, that is, all of this line shows this long label.
-
OMIT
public static final OverLengthLabelMode OMIT
omit the overrides. This mode exposes the portion of the long label that exceeds the maximum length of the specified label (MaxLabelLength) with an ellipsis.
-
NEWLINE
public static final OverLengthLabelMode NEWLINE
Linefeed display. This mode displays a long line of characters that exceeds the maximum length of the specified label, that is, multiple lines are used to display the long label.
-
-