Uses of Class
org.openstreetmap.josm.gui.mappaint.ElemStyles
Packages that use ElemStyles
Package
Description
Provides classes for converting Mapbox Vector Styles to JOSM MapCSS stylesheets
See the style specification for
more information on what the Mapbox Vector Style translation code expects.
Provides the classes for OSM data:
Primitives:
Node,
Way,
Relation
Users
Tags
Changesets
Utilities classes
Provides the classes for painting (rendering) OSM primitives on the map.
Provides classes for vector data like Mapbox Vector Tiles.
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.
-
Uses of ElemStyles in org.openstreetmap.josm.data.imagery.vectortile.mapbox.style
Fields in org.openstreetmap.josm.data.imagery.vectortile.mapbox.style with type parameters of type ElemStylesModifier and TypeFieldDescriptionprivate final Map<Source,ElemStyles> MapboxVectorStyle.sourcesThe required collection of sources with a list of layers that are applicable for that sourceMethods in org.openstreetmap.josm.data.imagery.vectortile.mapbox.style that return types with arguments of type ElemStylesModifier and TypeMethodDescriptionMapboxVectorStyle.getSources()Get the generated layer → style mapping -
Uses of ElemStyles in org.openstreetmap.josm.data.osm
Fields in org.openstreetmap.josm.data.osm with type parameters of type ElemStylesModifier and TypeFieldDescriptionprivate final Map<ElemStyles,StyleCache> OsmPrimitive.mappaintStyleMethods in org.openstreetmap.josm.data.osm with parameters of type ElemStylesModifier and TypeMethodDescriptionfinal voidOsmPrimitive.declareCachedStyleUpToDate(ElemStyles styles) voidPrimitiveData.declareCachedStyleUpToDate(ElemStyles styles) voidStylable.declareCachedStyleUpToDate(ElemStyles styles) Declare that the cached style for this primitive is up to date.final StyleCacheOsmPrimitive.getCachedStyle(ElemStyles elemStyles) PrimitiveData.getCachedStyle(ElemStyles styles) Stylable.getCachedStyle(ElemStyles styles) Returns the cached style.final booleanOsmPrimitive.isCachedStyleUpToDate(ElemStyles elemStyles) booleanPrimitiveData.isCachedStyleUpToDate(ElemStyles styles) booleanStylable.isCachedStyleUpToDate(ElemStyles styles) Check if the cached style for this primitive is up to date.final voidOsmPrimitive.setCachedStyle(ElemStyles elemStyles, StyleCache mappaintStyle) voidPrimitiveData.setCachedStyle(ElemStyles styles, StyleCache mappaintStyle) voidStylable.setCachedStyle(ElemStyles styles, StyleCache mappaintStyle) Sets the cached style. -
Uses of ElemStyles in org.openstreetmap.josm.data.osm.visitor.paint
Fields in org.openstreetmap.josm.data.osm.visitor.paint declared as ElemStylesModifier and TypeFieldDescriptionprivate final ElemStylesComputeStyleListWorker.stylesprivate ElemStylesStyledMapRenderer.stylesMethods in org.openstreetmap.josm.data.osm.visitor.paint with parameters of type ElemStylesModifier and TypeMethodDescriptionvoidStyledMapRenderer.setStyles(ElemStyles styles) Set theElemStylesinstance to use for this renderer.Constructors in org.openstreetmap.josm.data.osm.visitor.paint with parameters of type ElemStylesModifierConstructorDescription(package private)ComputeStyleListWorker(double circum, NavigatableComponent nc, List<? extends IPrimitive> input, List<StyledMapRenderer.StyleRecord> output, int directExecutionTaskSize, ElemStyles styles) Constructs a newComputeStyleListWorker. -
Uses of ElemStyles in org.openstreetmap.josm.data.vector
Fields in org.openstreetmap.josm.data.vector declared as ElemStylesModifier and TypeFieldDescriptionprivate ElemStylesVectorDataSet.stylesThe paint style for this layerFields in org.openstreetmap.josm.data.vector with type parameters of type ElemStylesModifier and TypeFieldDescriptionprivate final Map<ElemStyles,StyleCache> VectorPrimitive.mappaintStyleMethods in org.openstreetmap.josm.data.vector that return ElemStylesMethods in org.openstreetmap.josm.data.vector with parameters of type ElemStylesModifier and TypeMethodDescriptionfinal voidVectorPrimitive.declareCachedStyleUpToDate(ElemStyles elemStyles) final StyleCacheVectorPrimitive.getCachedStyle(ElemStyles elemStyles) final booleanVectorPrimitive.isCachedStyleUpToDate(ElemStyles elemStyles) final voidVectorPrimitive.setCachedStyle(ElemStyles elemStyles, StyleCache mappaintStyle) Method parameters in org.openstreetmap.josm.data.vector with type arguments of type ElemStylesModifier and TypeMethodDescriptionvoidVectorDataSet.setStyles(Collection<ElemStyles> styles) Set the styles for this layer -
Uses of ElemStyles in org.openstreetmap.josm.gui.mappaint
Fields in org.openstreetmap.josm.gui.mappaint declared as ElemStylesMethods in org.openstreetmap.josm.gui.mappaint that return ElemStylesModifier and TypeMethodDescriptionstatic ElemStylesMapPaintStyles.getStyles()Returns theElemStylessingleton instance.