|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.josm.data.osm.visitor.AbstractVisitor
org.openstreetmap.josm.gui.mappaint.mapcss.Selector.ChildOrParentSelector.MatchingReferrerFinder
private class Selector.ChildOrParentSelector.MatchingReferrerFinder
Finds the first referrer matching Selector.ChildOrParentSelector.left
The visitor works on an environment and it saves the matching
referrer in e.parent
and its relative position in the
list referrers "child list" in e.index
.
If after execution e.parent
is null, no matching
referrer was found.
Field Summary | |
---|---|
private Environment |
e
|
Constructor Summary | |
---|---|
Selector.ChildOrParentSelector.MatchingReferrerFinder(Environment e)
Constructor |
Method Summary | |
---|---|
void |
visit(Node n)
Visiting call for points. |
void |
visit(Relation r)
Visiting call for relations. |
void |
visit(Way w)
Visiting call for lines. |
Methods inherited from class org.openstreetmap.josm.data.osm.visitor.AbstractVisitor |
---|
visit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Environment e
Constructor Detail |
---|
public Selector.ChildOrParentSelector.MatchingReferrerFinder(Environment e)
e
- the environment against which we matchMethod Detail |
---|
public void visit(Node n)
Visitor
n
- The node to inspect.public void visit(Way w)
Visitor
w
- The way to inspect.public void visit(Relation r)
Visitor
r
- The relation to inspect.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |