Uses of Class
org.openstreetmap.josm.gui.mappaint.Cascade
Packages that use Cascade
Package
Description
Drawing system allowing to display and render OSM map data in a user-friendly and customizable way, through map styles.
Two implementations are provided: XML: this was the system used by default JOSM map style for a long time.
Two implementations are provided: XML: this was the system used by default JOSM map style for a long time.
Drawing system based on MapCSS map styles.
Style elements defining how a map paint style is rendered.
-
Uses of Cascade in org.openstreetmap.josm.gui.mappaint
Fields in org.openstreetmap.josm.gui.mappaint with type parameters of type CascadeMethods in org.openstreetmap.josm.gui.mappaint that return CascadeModifier and TypeMethodDescriptionEnvironment.getCascade()Gets the current cascade for the current layer of this environmentEnvironment.getCascade(String layer) Gets the current cascade for a given layerMultiCascade.getCascade(String layer) Read-only version ofMultiCascade.getOrCreateCascade(java.lang.String).MultiCascade.getOrCreateCascade(String layer) Return the cascade with the given name.Methods in org.openstreetmap.josm.gui.mappaint that return types with arguments of type CascadeModifier and TypeMethodDescriptionMultiCascade.getLayers()Gets all cascades for the known layersMethods in org.openstreetmap.josm.gui.mappaint with parameters of type CascadeModifier and TypeMethodDescriptionStyleSetting.StyleSettingGroup.create(Cascade c, StyleSource parentStyle, String key) Creates a newStyleSettingGroup.static StyleSettingStyleSettingFactory.create(Cascade c, StyleSource parentStyle, String key) Creates a newStyleSettingbased on the specified type byc.private static <T> StyleSettingStyleSettingFactory.forLabelAndDefault(Cascade c, Class<T> type, BiFunction<String, T, StyleSetting> function) Constructors in org.openstreetmap.josm.gui.mappaint with parameters of type Cascade -
Uses of Cascade in org.openstreetmap.josm.gui.mappaint.mapcss
Methods in org.openstreetmap.josm.gui.mappaint.mapcss that return CascadeModifier and TypeMethodDescriptionprivate CascadeMapCSSStyleSource.constructSpecial(String type) -
Uses of Cascade in org.openstreetmap.josm.gui.mappaint.styleelement
Methods in org.openstreetmap.josm.gui.mappaint.styleelement with parameters of type CascadeModifier and TypeMethodDescriptionprotected static LabelCompositionStrategyTextLabel.buildLabelCompositionStrategy(Cascade c, boolean defaultAnnotate) Derives a suitable label composition strategy from the style properties inc.private static FloatLineElement.computeOffset(LineElement.LineType type, Cascade c, Cascade cDef, Float width) private static floatLineElement.computeRealWidth(Environment env, LineElement.LineType type, Cascade c) private static FloatLineElement.computeWidth(LineElement.LineType type, Cascade c, Cascade cDef) protected static Fontstatic Point2DTextLabel.getTextOffset(Cascade c) Gets the text-offset property from a cascadeprotected static FloatGet a property value of type WidthConstructors in org.openstreetmap.josm.gui.mappaint.styleelement with parameters of type CascadeModifierConstructorDescriptionprotectedprotectedAreaIconElement(Cascade c, MapImage iconImage, RotationAngle iconImageAngle, PositionForAreaStrategy iconPosition) BoxTextElement(Cascade c, TextLabel text, BoxTextElement.BoxProvider boxProvider, int offsetX, int offsetY, BoxTextElement.HorizontalTextAlignment hAlign, BoxTextElement.VerticalTextAlignment vAlign) Create a newBoxTextElementprotectedLineElement(Cascade c, float defaultMajorZindex, BasicStroke line, Color color, BasicStroke dashesLine, Color dashesBackground, float offset, float realWidth, boolean wayDirectionArrows) protectedNodeElement(Cascade c, MapImage mapImage, Symbol symbol, float defaultMajorZindex, RotationAngle rotationAngle) RepeatImageElement(Cascade c, MapImage pattern, float offset, float spacing, float phase, float opacity, RepeatImageElement.LineImageAlignment align) Create a new image elementprotectedStyleElement(Cascade c, float defaultMajorZindex) protectedTextElement(Cascade c, TextLabel text, PositionForAreaStrategy labelPositionStrategy) Create a new way/area text element definition