|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.josm.gui.mappaint.mapcss.Condition
public abstract class Condition
Nested Class Summary | |
---|---|
static class |
Condition.Context
context, where the condition applies |
static class |
Condition.ExpressionCondition
|
static class |
Condition.IndexCondition
|
static class |
Condition.KeyCondition
KeyCondition represent one of the following conditions in either the link or the primitive context: |
static class |
Condition.KeyValueCondition
Represents a key/value condition which is either applied to a primitive. |
static class |
Condition.Op
|
static class |
Condition.PseudoClassCondition
|
static class |
Condition.RoleCondition
|
Field Summary | |
---|---|
static java.util.EnumSet<Condition.Op> |
COMPARISON_OPERATERS
|
Constructor Summary | |
---|---|
Condition()
|
Method Summary | |
---|---|
abstract boolean |
applies(Environment e)
|
static Condition |
create(Expression e,
Condition.Context context)
|
static Condition |
create(java.lang.String k,
boolean not,
boolean yes,
Condition.Context context)
|
static Condition |
create(java.lang.String id,
boolean not,
Condition.Context context)
|
static Condition |
create(java.lang.String k,
java.lang.String v,
Condition.Op op,
Condition.Context context)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.util.EnumSet<Condition.Op> COMPARISON_OPERATERS
Constructor Detail |
---|
public Condition()
Method Detail |
---|
public abstract boolean applies(Environment e)
public static Condition create(java.lang.String k, java.lang.String v, Condition.Op op, Condition.Context context)
public static Condition create(java.lang.String k, boolean not, boolean yes, Condition.Context context)
public static Condition create(java.lang.String id, boolean not, Condition.Context context)
public static Condition create(Expression e, Condition.Context context)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |