Uses of Class
org.openstreetmap.josm.gui.mappaint.Range
Packages that use Range
Package
Description
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.
Two implementations are provided: XML: this was the system used by default JOSM map style for a long time.
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 RangeModifier and TypeFieldDescriptionMultiCascade.rangeThe scale range this cascade is valid forstatic final RangeRange.ZERO_TO_INFINITYThe full scale range from zero to infinityFields in org.openstreetmap.josm.gui.mappaint with type parameters of type RangeMethods in org.openstreetmap.josm.gui.mappaint that return RangeModifier and TypeMethodDescriptionstatic Rangeprovides the intersection of 2 overlapping rangesRange.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 RangeModifier and TypeMethodDescriptionElemStyles.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.ElemStyles.getStyleCacheWithRange(IPrimitive osm, double scale, NavigatableComponent nc) Create the list of styles and its valid scale range for one primitive.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.StyleCache.getWithRange(double scale, boolean selected) Get the style for a specific style.Methods in org.openstreetmap.josm.gui.mappaint with parameters of type RangeModifier and TypeMethodDescriptionstatic Rangeprovides the intersection of 2 overlapping rangesAdd data object which is valid for the given range.StyleCache.put(StyleElementList o, Range r, boolean selected) Creates a new copy of this style cache with a new entry added.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 RangeMethods in org.openstreetmap.josm.gui.mappaint.mapcss that return RangeModifier and TypeMethodDescriptionstatic RangeSelector.GeneralSelector.fromLevel(int a, int b) Selector.ChildOrParentSelector.getRange()Selector.GeneralSelector.getRange()Selector.getRange()Returns the scale range, an interval of the form "lower < x <= upper" where 0 <= lower < upper.Selector.LinkSelector.getRange()Constructors in org.openstreetmap.josm.gui.mappaint.mapcss with parameters of type Range -
Uses of Range in org.openstreetmap.josm.gui.mappaint.mapcss.parsergen
Methods in org.openstreetmap.josm.gui.mappaint.mapcss.parsergen that return Range