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.styleelement |
Style elements defining how a map paint style is rendered.
|
Modifier and Type | Method and Description |
---|---|
StyleElementList |
ElemStyles.get(IPrimitive osm,
double scale,
NavigatableComponent nc)
Create the list of styles for one primitive.
|
Modifier and Type | Method and Description |
---|---|
Pair<StyleElementList,Range> |
ElemStyles.generateStyles(IPrimitive osm,
double scale,
boolean pretendWayIsClosed)
Create the list of styles and its valid scale range for one primitive.
|
private Pair<StyleElementList,Range> |
ElemStyles.getImpl(IPrimitive osm,
double scale,
NavigatableComponent nc)
Create the list of styles and its valid scale range for one primitive.
|
Pair<StyleElementList,Range> |
ElemStyles.getStyleCacheWithRange(IPrimitive osm,
double scale,
NavigatableComponent nc)
Create the list of styles and its valid scale range for one primitive.
|
Pair<StyleElementList,Range> |
StyleCache.getWithRange(double scale,
boolean selected)
Get the style for a specific style.
|
Modifier and Type | Method and Description |
---|---|
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 |
---|
StyleElementList(StyleElementList sl,
StyleElement s)
Create a new List of style elements
|
Modifier and Type | Field and Description |
---|---|
static StyleElementList |
DefaultStyles.DEFAULT_NODE_STYLELIST
The default styles that are used for nodes.
|
static StyleElementList |
DefaultStyles.DEFAULT_NODE_STYLELIST_TEXT
The default styles that are used for nodes with text.
|