| Package | Description |
|---|---|
| org.openstreetmap.josm.data.osm |
Provides the classes for OSM data:
Primitives:
Node,
Way,
Relation
Users
Tags
Changesets
Utilities classes
|
| 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. |
| Modifier and Type | Field and Description |
|---|---|
private StyleCache |
OsmPrimitive.mappaintStyle |
| Modifier and Type | Method and Description |
|---|---|
StyleCache |
Stylable.getCachedStyle()
Returns the cached style.
|
StyleCache |
PrimitiveData.getCachedStyle() |
StyleCache |
OsmPrimitive.getCachedStyle() |
| Modifier and Type | Method and Description |
|---|---|
void |
Stylable.setCachedStyle(StyleCache mappaintStyle)
Sets the cached style.
|
void |
PrimitiveData.setCachedStyle(StyleCache mappaintStyle) |
void |
OsmPrimitive.setCachedStyle(StyleCache mappaintStyle) |
| Modifier and Type | Field and Description |
|---|---|
static StyleCache |
StyleCache.EMPTY_STYLECACHE
An empty style cache entry
|
| Modifier and Type | Field and Description |
|---|---|
private static Storage<StyleCache> |
StyleCache.internPool |
| Modifier and Type | Method and Description |
|---|---|
private StyleCache |
StyleCache.intern()
Like String.intern() (reduce memory consumption).
|
StyleCache |
StyleCache.put(StyleElementList o,
Range r,
boolean selected)
Creates a new copy of this style cache with a new entry added.
|
| Constructor and Description |
|---|
StyleCache(StyleCache sc) |