Class Selector.ChildOrParentSelector.InsideOrEqualFinder
- java.lang.Object
-
- org.openstreetmap.josm.gui.mappaint.mapcss.Selector.ChildOrParentSelector.AbstractFinder
-
- org.openstreetmap.josm.gui.mappaint.mapcss.Selector.ChildOrParentSelector.InsideOrEqualFinder
-
- All Implemented Interfaces:
PrimitiveVisitor
- Enclosing class:
- Selector.ChildOrParentSelector
private class Selector.ChildOrParentSelector.InsideOrEqualFinder extends Selector.ChildOrParentSelector.AbstractFinder
Finds elements which are inside the left element, or in other words, it finds elements enclosing e.osm. The found enclosing elements are collected ine.children
.
-
-
Field Summary
-
Fields inherited from class org.openstreetmap.josm.gui.mappaint.mapcss.Selector.ChildOrParentSelector.AbstractFinder
e
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
InsideOrEqualFinder(Environment e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visit(IRelation<?> r)
Visiting call for relations.void
visit(IWay<?> w)
Visiting call for ways.-
Methods inherited from class org.openstreetmap.josm.gui.mappaint.mapcss.Selector.ChildOrParentSelector.AbstractFinder
addToChildren, isPrimitiveUsable, visit, visit
-
-
-
-
Constructor Detail
-
InsideOrEqualFinder
protected InsideOrEqualFinder(Environment e)
-
-
Method Detail
-
visit
public void visit(IWay<?> w)
Description copied from interface:PrimitiveVisitor
Visiting call for ways.- Specified by:
visit
in interfacePrimitiveVisitor
- Overrides:
visit
in classSelector.ChildOrParentSelector.AbstractFinder
- Parameters:
w
- The way to inspect.
-
visit
public void visit(IRelation<?> r)
Description copied from interface:PrimitiveVisitor
Visiting call for relations.- Specified by:
visit
in interfacePrimitiveVisitor
- Overrides:
visit
in classSelector.ChildOrParentSelector.AbstractFinder
- Parameters:
r
- The relation to inspect.
-
-