Package | Description |
---|---|
org.openstreetmap.josm.gui.mappaint |
Modifier and Type | Field and Description |
---|---|
static StyleCache.StyleList |
NodeElemStyle.DEFAULT_NODE_STYLELIST |
static StyleCache.StyleList |
NodeElemStyle.DEFAULT_NODE_STYLELIST_TEXT |
Modifier and Type | Field and Description |
---|---|
private List<StyleCache.StyleList> |
StyleCache.data |
Modifier and Type | Method and Description |
---|---|
StyleCache.StyleList |
StyleCache.get(double scale)
looks up styles for a certain scale value
|
StyleCache.StyleList |
ElemStyles.get(OsmPrimitive osm,
double scale,
NavigatableComponent nc)
Create the list of styles for one primitive.
|
Modifier and Type | Method and Description |
---|---|
Pair<StyleCache.StyleList,Range> |
ElemStyles.generateStyles(OsmPrimitive osm,
double scale,
OsmPrimitive multipolyOuterWay,
boolean pretendWayIsClosed)
Create the list of styles and its valid scale range for one primitive.
|
private Pair<StyleCache.StyleList,Range> |
ElemStyles.getImpl(OsmPrimitive osm,
double scale,
NavigatableComponent nc)
Create the list of styles and its valid scale range for one primitive.
|
Pair<StyleCache.StyleList,Range> |
ElemStyles.getStyleCacheWithRange(OsmPrimitive osm,
double scale,
NavigatableComponent nc)
Create the list of styles and its valid scale range for one primitive.
|
Pair<StyleCache.StyleList,Range> |
StyleCache.getWithRange(double scale)
looks up styles for a certain scale value and additionally returns
the scale range for the returned styles
|
Modifier and Type | Method and Description |
---|---|
StyleCache |
StyleCache.put(StyleCache.StyleList sl,
double lower,
double upper)
add a new styles to the cache. this is only possible, if
for this scale range, there is nothing in the cache yet.
|
StyleCache |
StyleCache.put(StyleCache.StyleList sl,
Range r) |
private void |
StyleCache.putImpl(StyleCache.StyleList sl,
double lower,
double upper)
ASCII-art explanation:
data[i]
--|-------|---------|--
bd[i-1] bd[i] bd[i+1]
(--------]
lower upper
|
Constructor and Description |
---|
StyleList(StyleCache.StyleList sl,
ElemStyle s) |