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 classLabelCompositionStrategy.DeriveLabelFromNameTagsCompositionStrategyStrategy where the label is given by the value of one of the configured "name tags".static classLabelCompositionStrategy.StaticLabelCompositionStrategyStrategy where the label is given by a static text specified in the MapCSS style file.static classLabelCompositionStrategy.TagLookupCompositionStrategyStrategy 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 LabelCompositionStrategyTextLabel. AUTO_LABEL_COMPOSITION_STRATEGYThe default strategy to use when determining the label of a element.LabelCompositionStrategyTextLabel. labelCompositionStrategyThe 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 LabelCompositionStrategyTextLabel. 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
-