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.mapcss |
Drawing system based on MapCSS map styles.
|
org.openstreetmap.josm.gui.mappaint.xml |
Drawing system based on XML map styles.
|
Modifier and Type | Field and Description |
---|---|
Range |
MultiCascade.range |
static Range |
Range.ZERO_TO_INFINITY |
Modifier and Type | Method and Description |
---|---|
static Range |
Range.cut(Range a,
Range b)
provides the intersection of 2 overlapping ranges
|
Range |
Range.reduceAround(double x,
Range other)
under the premise, that x is within this range,
and not within the other range, it shrinks this range in a way
to exclude the other range, but still contain x.
|
Modifier and Type | Method and Description |
---|---|
Pair<StyleElementList,Range> |
ElemStyles.generateStyles(OsmPrimitive osm,
double scale,
boolean pretendWayIsClosed)
Create the list of styles and its valid scale range for one primitive.
|
private Pair<StyleElementList,Range> |
ElemStyles.getImpl(OsmPrimitive osm,
double scale,
NavigatableComponent nc)
Create the list of styles and its valid scale range for one primitive.
|
Pair<StyleElementList,Range> |
ElemStyles.getStyleCacheWithRange(OsmPrimitive osm,
double scale,
NavigatableComponent nc)
Create the list of styles and its valid scale range for one primitive.
|
Pair<T,Range> |
DividedScale.getWithRange(double scale)
Looks up the data object for a certain scale value and additionally returns
the scale range where the object is valid.
|
Modifier and Type | Method and Description |
---|---|
static Range |
Range.cut(Range a,
Range b)
provides the intersection of 2 overlapping ranges
|
StyleCache |
StyleCache.put(StyleElementList o,
Range r)
Add data object which is valid for the given range.
|
DividedScale<T> |
DividedScale.put(T o,
Range r)
Add data object which is valid for the given range.
|
Range |
Range.reduceAround(double x,
Range other)
under the premise, that x is within this range,
and not within the other range, it shrinks this range in a way
to exclude the other range, but still contain x.
|
Modifier and Type | Field and Description |
---|---|
Range |
Selector.OptimizedGeneralSelector.range |
Modifier and Type | Method and Description |
---|---|
static Range |
Selector.OptimizedGeneralSelector.fromLevel(int a,
int b) |
Range |
Selector.getRange() |
Range |
Selector.ChildOrParentSelector.getRange() |
Range |
Selector.LinkSelector.getRange() |
Range |
Selector.OptimizedGeneralSelector.getRange() |
Constructor and Description |
---|
OptimizedGeneralSelector(String base,
Range range,
List<Condition> conds,
Subpart subpart) |
Modifier and Type | Field and Description |
---|---|
Range |
Prototype.range |
Constructor and Description |
---|
AreaPrototype(AreaPrototype a,
Range range) |
IconPrototype(IconPrototype i,
Range range) |
LinemodPrototype(LinemodPrototype s,
Range range) |
LinePrototype(LinePrototype s,
Range range) |
Prototype(Range range) |