Uses of Class
org.openstreetmap.josm.gui.mappaint.Cascade
-
Packages that use Cascade Package Description org.openstreetmap.josm.gui.mappaint 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.org.openstreetmap.josm.gui.mappaint.mapcss Drawing system based on MapCSS map styles.org.openstreetmap.josm.gui.mappaint.styleelement 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 Cascade Modifier and Type Field Description private java.util.Map<java.lang.String,Cascade>MultiCascade. layersMethods in org.openstreetmap.josm.gui.mappaint that return Cascade Modifier and Type Method Description CascadeEnvironment. getCascade()Gets the current cascade for the current layer of this environmentCascadeEnvironment. getCascade(java.lang.String layer)Gets the current cascade for a given layerCascadeMultiCascade. getCascade(java.lang.String layer)Read-only version ofMultiCascade.getOrCreateCascade(java.lang.String).CascadeMultiCascade. getOrCreateCascade(java.lang.String layer)Return the cascade with the given name.Methods in org.openstreetmap.josm.gui.mappaint that return types with arguments of type Cascade Modifier and Type Method Description java.util.Collection<java.util.Map.Entry<java.lang.String,Cascade>>MultiCascade. getLayers()Gets all cascades for the known layersMethods in org.openstreetmap.josm.gui.mappaint with parameters of type Cascade Modifier and Type Method Description static StyleSetting.StyleSettingGroupStyleSetting.StyleSettingGroup. create(Cascade c, StyleSource parentStyle, java.lang.String key)Creates a newStyleSettingGroup.static StyleSettingStyleSettingFactory. create(Cascade c, StyleSource parentStyle, java.lang.String key)Creates a newStyleSettingbased on the specified type byc.private static <T> StyleSettingStyleSettingFactory. forLabelAndDefault(Cascade c, java.lang.Class<T> type, java.util.function.BiFunction<java.lang.String,T,StyleSetting> function)Constructors in org.openstreetmap.josm.gui.mappaint with parameters of type Cascade Constructor Description Cascade(Cascade other)Constructs a newCascadefrom existing one. -
Uses of Cascade in org.openstreetmap.josm.gui.mappaint.mapcss
Methods in org.openstreetmap.josm.gui.mappaint.mapcss that return Cascade Modifier and Type Method Description private CascadeMapCSSStyleSource. constructSpecial(java.lang.String type) -
Uses of Cascade in org.openstreetmap.josm.gui.mappaint.styleelement
Methods in org.openstreetmap.josm.gui.mappaint.styleelement with parameters of type Cascade Modifier and Type Method Description protected static LabelCompositionStrategyTextLabel. buildLabelCompositionStrategy(Cascade c, boolean defaultAnnotate)Derives a suitable label composition strategy from the style properties inc.private static java.lang.FloatLineElement. computeOffset(LineElement.LineType type, Cascade c, Cascade cDef, java.lang.Float width)private static floatLineElement. computeRealWidth(Environment env, LineElement.LineType type, Cascade c)private static java.lang.FloatLineElement. computeWidth(LineElement.LineType type, Cascade c, Cascade cDef)protected static java.awt.FontStyleElement. getFont(Cascade c, java.lang.String s)static java.awt.geom.Point2DTextLabel. getTextOffset(Cascade c)Gets the text-offset property from a cascadeprotected static java.lang.FloatStyleElement. getWidth(Cascade c, java.lang.String key, java.lang.Float relativeTo)Get a property value of type WidthConstructors in org.openstreetmap.josm.gui.mappaint.styleelement with parameters of type Cascade Constructor Description AreaElement(Cascade c, java.awt.Color color, MapImage fillImage, java.lang.Float extent, java.lang.Float extentThreshold)AreaIconElement(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 newBoxTextElementLineElement(Cascade c, float defaultMajorZindex, java.awt.BasicStroke line, java.awt.Color color, java.awt.BasicStroke dashesLine, java.awt.Color dashesBackground, float offset, float realWidth, boolean wayDirectionArrows)NodeElement(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 elementStyleElement(Cascade c, float defaultMajorZindex)TextElement(Cascade c, TextLabel text, PositionForAreaStrategy labelPositionStrategy)Create a new way/area text element definition
-