Uses of Interface
org.openstreetmap.josm.gui.mappaint.styleelement.LabelCompositionStrategy
-
Packages that use LabelCompositionStrategy Package Description org.openstreetmap.josm.gui.mappaint.styleelement Style elements defining how a map paint style is rendered. -
-
Uses of LabelCompositionStrategy in org.openstreetmap.josm.gui.mappaint.styleelement
Classes in org.openstreetmap.josm.gui.mappaint.styleelement that implement LabelCompositionStrategy Modifier and Type Class Description static class
LabelCompositionStrategy.DeriveLabelFromNameTagsCompositionStrategy
Strategy where the label is given by the value of one of the configured "name tags".static class
LabelCompositionStrategy.StaticLabelCompositionStrategy
Strategy where the label is given by a static text specified in the MapCSS style file.static class
LabelCompositionStrategy.TagLookupCompositionStrategy
Strategy where the label is given by the content of a tag whose name specified in the MapCSS style file.Fields in org.openstreetmap.josm.gui.mappaint.styleelement declared as LabelCompositionStrategy Modifier and Type Field Description static LabelCompositionStrategy
TextLabel. AUTO_LABEL_COMPOSITION_STRATEGY
The default strategy to use when determining the label of a element.LabelCompositionStrategy
TextLabel. labelCompositionStrategy
The strategy for building the actual label value for a given aOsmPrimitive
.Methods in org.openstreetmap.josm.gui.mappaint.styleelement that return LabelCompositionStrategy Modifier and Type Method Description protected static LabelCompositionStrategy
TextLabel. buildLabelCompositionStrategy(Cascade c, boolean defaultAnnotate)
Derives a suitable label composition strategy from the style properties inc
.Constructors in org.openstreetmap.josm.gui.mappaint.styleelement with parameters of type LabelCompositionStrategy Constructor Description TextLabel(LabelCompositionStrategy strategy, java.awt.Font font, RotationAngle rotationAngle, java.awt.Color color, java.lang.Float haloRadius, java.awt.Color haloColor)
Creates a new text element
-