Uses of Interface
org.openstreetmap.josm.gui.mappaint.styleelement.LabelCompositionStrategy
Packages that use LabelCompositionStrategy
Package
Description
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 LabelCompositionStrategyModifier and TypeClassDescriptionstatic classStrategy where the label is given by the value of one of the configured "name tags".static classStrategy where the label is given by a static text specified in the MapCSS style file.static classStrategy 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 LabelCompositionStrategyModifier and TypeFieldDescriptionstatic final LabelCompositionStrategyTextLabel.AUTO_LABEL_COMPOSITION_STRATEGYThe default strategy to use when determining the label of a element.TextLabel.labelCompositionStrategyThe strategy for building the actual label value for a given aOsmPrimitive.Methods in org.openstreetmap.josm.gui.mappaint.styleelement that return LabelCompositionStrategyModifier and TypeMethodDescriptionprotected 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 LabelCompositionStrategyModifierConstructorDescriptionprotectedTextLabel(LabelCompositionStrategy strategy, Font font, RotationAngle rotationAngle, Color color, Float haloRadius, Color haloColor) Creates a new text element