Uses of Class
org.openstreetmap.josm.gui.mappaint.Range
-
Packages that use Range 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. -
-
Uses of Range in org.openstreetmap.josm.gui.mappaint
Fields in org.openstreetmap.josm.gui.mappaint declared as Range Modifier and Type Field Description Range
MultiCascade. range
The scale range this cascade is valid forstatic Range
Range. ZERO_TO_INFINITY
The full scale range from zero to infinityFields in org.openstreetmap.josm.gui.mappaint with type parameters of type Range Modifier and Type Field Description private List<Range>
DividedScale. ranges
Methods in org.openstreetmap.josm.gui.mappaint that return Range Modifier and Type Method Description static Range
Range. cut(Range a, Range b)
provides the intersection of 2 overlapping rangesRange
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.Methods in org.openstreetmap.josm.gui.mappaint that return types with arguments of type Range Modifier and Type Method 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<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.Pair<StyleElementList,Range>
StyleCache. getWithRange(double scale, boolean selected)
Get the style for a specific style.Methods in org.openstreetmap.josm.gui.mappaint with parameters of type Range Modifier and Type Method Description static Range
Range. cut(Range a, Range b)
provides the intersection of 2 overlapping rangesDividedScale<T>
DividedScale. put(T o, Range r)
Add data object which is valid for the given range.StyleCache
StyleCache. put(StyleElementList o, Range r, boolean selected)
Creates a new copy of this style cache with a new entry added.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. -
Uses of Range in org.openstreetmap.josm.gui.mappaint.mapcss
Fields in org.openstreetmap.josm.gui.mappaint.mapcss declared as Range Modifier and Type Field Description Range
Selector.GeneralSelector. range
Methods in org.openstreetmap.josm.gui.mappaint.mapcss that return Range Modifier and Type Method Description static Range
Selector.GeneralSelector. fromLevel(int a, int b)
Range
Selector.ChildOrParentSelector. getRange()
Range
Selector.GeneralSelector. getRange()
Range
Selector. getRange()
Returns the scale range, an interval of the form "lower < x <= upper" where 0 <= lower < upper.Range
Selector.LinkSelector. getRange()
Constructors in org.openstreetmap.josm.gui.mappaint.mapcss with parameters of type Range Constructor Description GeneralSelector(String base, Range range, List<Condition> conds, Subpart subpart)
-