Uses of Interface
org.openstreetmap.josm.gui.mappaint.mapcss.Selector
-
Packages that use Selector Package Description org.openstreetmap.josm.data.osm.search Provides classes allowing to search OSM primitives in a dataset using textual queries.org.openstreetmap.josm.data.validation.tests Provides the classes for JOSM data validation tests.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 Selector in org.openstreetmap.josm.data.osm.search
Fields in org.openstreetmap.josm.data.osm.search with type parameters of type Selector Modifier and Type Field Description private java.util.List<Selector>SearchCompiler.MapCSSMatch. selectorsConstructor parameters in org.openstreetmap.josm.data.osm.search with type arguments of type Selector Constructor Description MapCSSMatch(java.util.List<Selector> selectors) -
Uses of Selector in org.openstreetmap.josm.data.validation.tests
Methods in org.openstreetmap.josm.data.validation.tests that return Selector Modifier and Type Method Description (package private) SelectorMapCSSTagCheckerRule. whichSelectorMatchesEnvironment(Environment env)(package private) SelectorMapCSSTagCheckerRule. whichSelectorMatchesPrimitive(OsmPrimitive primitive)Methods in org.openstreetmap.josm.data.validation.tests with parameters of type Selector Modifier and Type Method Description CommandMapCSSTagCheckerFixCommand. createCommand(OsmPrimitive p, Selector matchingSelector)Creates the fixingCommandfor the given primitive.static java.lang.StringMapCSSTagCheckerFixCommand. evaluateObject(java.lang.Object obj, OsmPrimitive p, Selector matchingSelector)(package private) java.lang.StringMapCSSTagCheckerRule. getDescription(Selector selector, OsmPrimitive p)Constructs a (localized) description for this deprecation check.(package private) java.lang.StringMapCSSTagCheckerRule. getDescriptionForMatchingSelector(OsmPrimitive p, Selector matchingSelector)Constructs a (localized) description for this deprecation check where any placeholders are replaced by values of the matched selector.(package private) java.util.List<TestError>MapCSSTagCheckerRule. getErrorsForPrimitive(OsmPrimitive p, Selector matchingSelector, Environment env, Test tester)Constructs aTestErrorfor the given primitive, or returns null if the primitive does not give rise to an error.(package private) java.lang.StringMapCSSTagCheckerRule. getMessage(Selector selector, OsmPrimitive p)Constructs a (localized) message for this deprecation check.(package private) static java.lang.StringMapCSSTagCheckerRule. insertArguments(Selector matchingSelector, java.lang.String s, OsmPrimitive p)Replaces occurrences of{i.key},{i.value},{i.tag}insby the corresponding key/value/tag of theindex-thConditionofmatchingSelector. -
Uses of Selector in org.openstreetmap.josm.gui.mappaint
Fields in org.openstreetmap.josm.gui.mappaint declared as Selector Modifier and Type Field Description private SelectorEnvironment. selectorThe selector that is currently being evaluatedMethods in org.openstreetmap.josm.gui.mappaint that return Selector Modifier and Type Method Description SelectorEnvironment. selector()Get the selector for this environmentMethods in org.openstreetmap.josm.gui.mappaint with parameters of type Selector Modifier and Type Method Description EnvironmentEnvironment. withSelector(Selector selector)Creates a clone of this environment, with the selector setConstructors in org.openstreetmap.josm.gui.mappaint with parameters of type Selector Constructor Description Environment(Environment other, Selector selector)Creates a clone of the environmentother. -
Uses of Selector in org.openstreetmap.josm.gui.mappaint.mapcss
Classes in org.openstreetmap.josm.gui.mappaint.mapcss that implement Selector Modifier and Type Class Description static classSelector.AbstractSelectorSuper class ofSelector.GeneralSelectorandSelector.LinkSelector.static classSelector.ChildOrParentSelectorRepresents a child selector or a parent selector.static classSelector.GeneralSelectorGeneral selector.static classSelector.LinkSelectorIn a child selector, conditions on the link between a parent and a child object.Fields in org.openstreetmap.josm.gui.mappaint.mapcss declared as Selector Modifier and Type Field Description SelectorSelector.ChildOrParentSelector. leftSelectorSelector.ChildOrParentSelector. rightFields in org.openstreetmap.josm.gui.mappaint.mapcss with type parameters of type Selector Modifier and Type Field Description java.util.List<Selector>MapCSSRule. selectorsThe selector.Methods in org.openstreetmap.josm.gui.mappaint.mapcss with parameters of type Selector Modifier and Type Method Description private static java.lang.StringPlaceholderExpression. determineArgument(Selector matchingSelector, int index, java.lang.String type, Tagged p)static java.lang.StringPlaceholderExpression. insertArguments(Selector matchingSelector, java.lang.String s, Tagged p)Replaces occurrences of{i.key},{i.value},{i.tag}insby the corresponding key/value/tag of theindex-thConditionofmatchingSelector.Constructors in org.openstreetmap.josm.gui.mappaint.mapcss with parameters of type Selector Constructor Description ChildOrParentSelector(Selector a, Selector.LinkSelector link, Selector b, Selector.ChildOrParentSelectorType type)Constructs a newChildOrParentSelector.Constructor parameters in org.openstreetmap.josm.gui.mappaint.mapcss with type arguments of type Selector Constructor Description MapCSSRule(java.util.List<Selector> selectors, Declaration declaration)Constructs a newMapCSSRule. -
Uses of Selector in org.openstreetmap.josm.gui.mappaint.mapcss.parsergen
Methods in org.openstreetmap.josm.gui.mappaint.mapcss.parsergen that return Selector Modifier and Type Method Description SelectorMapCSSParser. child_selector()SelectorMapCSSParser. selector()Methods in org.openstreetmap.josm.gui.mappaint.mapcss.parsergen that return types with arguments of type Selector Modifier and Type Method Description java.util.List<Selector>MapCSSParser. selectors()java.util.List<Selector>MapCSSParser. selectors_for_search()Read selectors, make sure that we read all tokens See #17746
-