|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.josm.gui.mappaint.mapcss.Selector.LinkSelector
public static class Selector.LinkSelector
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.openstreetmap.josm.gui.mappaint.mapcss.Selector |
---|
Selector.ChildOrParentSelector, Selector.GeneralSelector, Selector.LinkSelector |
Field Summary | |
---|---|
protected java.util.List<Condition> |
conditions
|
Constructor Summary | |
---|---|
Selector.LinkSelector(java.util.List<Condition> conditions)
|
Method Summary | |
---|---|
Range |
getRange()
|
java.lang.String |
getSubpart()
|
boolean |
matches(Environment env)
Apply the selector to the primitive and check if it matches. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.util.List<Condition> conditions
Constructor Detail |
---|
public Selector.LinkSelector(java.util.List<Condition> conditions)
Method Detail |
---|
public boolean matches(Environment env)
Selector
matches
in interface Selector
env
- the Environment. env.mc and env.layer are read-only when matching a selector.
env.source is not needed. This method will set the matchingReferrers field of env as
a side effect! Make sure to clear it before invoking this method.
public java.lang.String getSubpart()
getSubpart
in interface Selector
public Range getRange()
getRange
in interface Selector
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |