Uses of Class
org.openstreetmap.josm.gui.mappaint.StyleCache
Packages that use StyleCache
Package
Description
Provides the classes for OSM data:
Primitives:
Node,
Way,
Relation
Users
Tags
Changesets
Utilities classes
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 StyleCache in org.openstreetmap.josm.data.osm
Fields in org.openstreetmap.josm.data.osm with type parameters of type StyleCacheModifier and TypeFieldDescriptionprivate final Map<ElemStyles,StyleCache> OsmPrimitive.mappaintStyleMethods in org.openstreetmap.josm.data.osm that return StyleCacheModifier and TypeMethodDescriptionfinal StyleCacheOsmPrimitive.getCachedStyle(ElemStyles elemStyles) PrimitiveData.getCachedStyle(ElemStyles styles) Stylable.getCachedStyle(ElemStyles styles) Returns the cached style.Methods in org.openstreetmap.josm.data.osm with parameters of type StyleCacheModifier and TypeMethodDescriptionfinal voidOsmPrimitive.setCachedStyle(ElemStyles elemStyles, StyleCache mappaintStyle) voidPrimitiveData.setCachedStyle(ElemStyles styles, StyleCache mappaintStyle) voidStylable.setCachedStyle(ElemStyles styles, StyleCache mappaintStyle) Sets the cached style. -
Uses of StyleCache in org.openstreetmap.josm.data.vector
Fields in org.openstreetmap.josm.data.vector with type parameters of type StyleCacheModifier and TypeFieldDescriptionprivate final Map<ElemStyles,StyleCache> VectorPrimitive.mappaintStyleMethods in org.openstreetmap.josm.data.vector that return StyleCacheModifier and TypeMethodDescriptionfinal StyleCacheVectorPrimitive.getCachedStyle(ElemStyles elemStyles) Methods in org.openstreetmap.josm.data.vector with parameters of type StyleCacheModifier and TypeMethodDescriptionfinal voidVectorPrimitive.setCachedStyle(ElemStyles elemStyles, StyleCache mappaintStyle) -
Uses of StyleCache in org.openstreetmap.josm.gui.mappaint
Fields in org.openstreetmap.josm.gui.mappaint declared as StyleCacheModifier and TypeFieldDescriptionstatic final StyleCacheStyleCache.EMPTY_STYLECACHEAn empty style cache entryFields in org.openstreetmap.josm.gui.mappaint with type parameters of type StyleCacheModifier and TypeFieldDescriptionprivate static final Map<StyleCache,StyleCache> StyleCache.internPoolprivate static final Map<StyleCache,StyleCache> StyleCache.internPoolMethods in org.openstreetmap.josm.gui.mappaint that return StyleCacheModifier and TypeMethodDescriptionprivate StyleCacheStyleCache.intern()Like String.intern() (reduce memory consumption).StyleCache.put(StyleElementList o, Range r, boolean selected) Creates a new copy of this style cache with a new entry added.Constructors in org.openstreetmap.josm.gui.mappaint with parameters of type StyleCache