Package | Description |
---|---|
org.openstreetmap.josm.gui.mappaint.mapcss |
Drawing system based on MapCSS map styles.
|
Modifier and Type | Class and Description |
---|---|
static class |
ConditionFactory.ClassCondition
Class condition.
|
static class |
ConditionFactory.ExpressionCondition
A condition that is fulfilled whenever the expression is evaluated to be true.
|
static class |
ConditionFactory.IndexCondition
Index condition.
|
static class |
ConditionFactory.KeyCondition
KeyCondition represent one of the following conditions in either the link or the
primitive context:
|
static class |
ConditionFactory.KeyValueCondition
Represents a key/value condition which is either applied to a primitive.
|
static class |
ConditionFactory.KeyValueRegexpCondition
This condition requires a fixed key to match a given regexp
|
static class |
ConditionFactory.OpenEndPseudoClassCondition
Open end pseudo class condition.
|
static class |
ConditionFactory.PseudoClassCondition
Pseudo class condition.
|
static class |
ConditionFactory.RegexpKeyValueRegexpCondition
A condition that checks that a key with the matching pattern has a value with the matching pattern.
|
static class |
ConditionFactory.RoleCondition
Role condition.
|
static class |
ConditionFactory.SimpleKeyValueCondition
Most common case of a KeyValueCondition, this is the basic key=value case.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Condition> |
Selector.AbstractSelector.conds |
Modifier and Type | Method and Description |
---|---|
static Condition |
ConditionFactory.createKeyCondition(java.lang.String k,
boolean not,
ConditionFactory.KeyMatchType matchType,
Condition.Context context)
Creates a condition that checks the given key.
|
static Condition |
ConditionFactory.createKeyValueCondition(java.lang.String k,
java.lang.String v,
ConditionFactory.Op op,
Condition.Context context,
boolean considerValAsKey)
Create a new condition that checks the key and the value of the object.
|
static Condition |
ConditionFactory.createRegexpKeyRegexpValueCondition(java.lang.String k,
java.lang.String v,
ConditionFactory.Op op)
Create a condition in which the key and the value need to match a given regexp
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Condition> |
Selector.AbstractSelector.getConditions()
Returns the list of conditions.
|
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
MapCSSStyleSource.MapCSSRuleIndex.findAnyRequiredKey(java.util.List<Condition> conds)
Search for any key that condition might depend on.
|
Constructor and Description |
---|
AbstractSelector(java.util.List<Condition> conditions) |
GeneralSelector(java.lang.String base,
Pair<java.lang.Integer,java.lang.Integer> zoom,
java.util.List<Condition> conds,
Subpart subpart) |
LinkSelector(java.util.List<Condition> conditions) |
OptimizedGeneralSelector(java.lang.String base,
Pair<java.lang.Integer,java.lang.Integer> zoom,
java.util.List<Condition> conds,
Subpart subpart) |
OptimizedGeneralSelector(java.lang.String base,
Range range,
java.util.List<Condition> conds,
Subpart subpart) |