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.org.openstreetmap.josm.gui.mappaint.mapcss.parsergen -
-
Uses of Range in org.openstreetmap.josm.gui.mappaint
Fields in org.openstreetmap.josm.gui.mappaint declared as Range Modifier and Type Field Description RangeMultiCascade. rangeThe scale range this cascade is valid forstatic RangeRange. ZERO_TO_INFINITYThe 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 java.util.List<Range>DividedScale. rangesMethods in org.openstreetmap.josm.gui.mappaint that return Range Modifier and Type Method Description static RangeRange. cut(Range a, Range b)provides the intersection of 2 overlapping rangesRangeRange. 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 RangeRange. 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.StyleCacheStyleCache. put(StyleElementList o, Range r, boolean selected)Creates a new copy of this style cache with a new entry added.RangeRange. 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 RangeSelector.GeneralSelector. rangeMethods in org.openstreetmap.josm.gui.mappaint.mapcss that return Range Modifier and Type Method Description static RangeSelector.GeneralSelector. fromLevel(int a, int b)RangeSelector.ChildOrParentSelector. getRange()RangeSelector.GeneralSelector. getRange()RangeSelector. getRange()Returns the scale range, an interval of the form "lower < x <= upper" where 0 <= lower < upper.RangeSelector.LinkSelector. getRange()Constructors in org.openstreetmap.josm.gui.mappaint.mapcss with parameters of type Range Constructor Description GeneralSelector(java.lang.String base, Range range, java.util.List<Condition> conds, Subpart subpart) -
Uses of Range in org.openstreetmap.josm.gui.mappaint.mapcss.parsergen
Methods in org.openstreetmap.josm.gui.mappaint.mapcss.parsergen that return Range Modifier and Type Method Description RangeMapCSSParser. zoom()
-