Package | Description |
---|---|
org.openstreetmap.josm.gui.mappaint | |
org.openstreetmap.josm.gui.mappaint.mapcss |
Modifier and Type | Method and Description |
---|---|
Environment |
Environment.withChild(OsmPrimitive child)
Creates a clone of this environment, with the specified child.
|
Environment |
Environment.withChildAndIndexAndLinkContext(OsmPrimitive child,
int index)
Creates a clone of this environment, with the specified child, index, and context set to
Condition.Context.LINK . |
Environment |
Environment.withContext(Condition.Context context)
Creates a clone of this environment, with the specified
Condition.Context . |
Environment |
Environment.withIndex(int index)
Creates a clone of this environment, with the specified index.
|
Environment |
Environment.withLinkContext()
Creates a clone of this environment, with context set to
Condition.Context.LINK . |
Environment |
Environment.withParent(OsmPrimitive parent)
Creates a clone of this environment, with the specified parent.
|
Environment |
Environment.withParentAndIndexAndLinkContext(OsmPrimitive parent,
int index)
Creates a clone of this environment, with the specified parent, index, and context set to
Condition.Context.LINK . |
Environment |
Environment.withPrimitive(OsmPrimitive osm)
Creates a clone of this environment, with the specified primitive.
|
Modifier and Type | Method and Description |
---|---|
static LineTextElemStyle |
LineTextElemStyle.create(Environment env) |
static LinePatternElemStyle |
LinePatternElemStyle.create(Environment env)
Deprecated.
|
static NodeElemStyle |
NodeElemStyle.create(Environment env) |
static RepeatImageElemStyle |
RepeatImageElemStyle.create(Environment env) |
static BoxTextElemStyle |
BoxTextElemStyle.create(Environment env,
BoxTextElemStyle.BoxProvider boxProvider) |
static BoxTextElemStyle |
BoxTextElemStyle.create(Environment env,
BoxTextElemStyle.BoxProvider boxProvider,
Rectangle box) |
private static NodeElemStyle |
NodeElemStyle.create(Environment env,
float default_major_z_index,
boolean allowDefault) |
static BoxTextElemStyle |
BoxTextElemStyle.create(Environment env,
Rectangle box) |
static LineElemStyle |
LineElemStyle.createCasing(Environment env) |
static MapImage |
NodeElemStyle.createIcon(Environment env,
String[] keys) |
private static LineElemStyle |
LineElemStyle.createImpl(Environment env,
LineElemStyle.LineType type) |
static LineElemStyle |
LineElemStyle.createLeftCasing(Environment env) |
static LineElemStyle |
LineElemStyle.createLine(Environment env) |
static LineElemStyle |
LineElemStyle.createRightCasing(Environment env) |
private static NodeElemStyle.Symbol |
NodeElemStyle.createSymbol(Environment env) |
Constructor and Description |
---|
Environment(Environment other)
Creates a clone of the environment
other . |
Modifier and Type | Field and Description |
---|---|
private Environment |
Selector.ChildOrParentSelector.MatchingReferrerFinder.e |
(package private) Environment |
ExpressionFactory.Functions.env |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
Condition.applies(Environment e) |
boolean |
Condition.KeyValueCondition.applies(Environment env) |
boolean |
Condition.RoleCondition.applies(Environment env) |
boolean |
Condition.IndexCondition.applies(Environment env) |
boolean |
Condition.KeyCondition.applies(Environment e) |
boolean |
Condition.PseudoClassCondition.applies(Environment e) |
boolean |
Condition.ExpressionCondition.applies(Environment env) |
boolean |
Condition.PseudoClassCondition.appliesImpl(Environment e) |
Object |
LiteralExpression.evaluate(Environment env) |
Object |
ExpressionFactory.NullExpression.evaluate(Environment env) |
Object |
ExpressionFactory.CondOperator.evaluate(Environment env) |
Object |
ExpressionFactory.AndOperator.evaluate(Environment env) |
Object |
ExpressionFactory.OrOperator.evaluate(Environment env) |
Object |
ExpressionFactory.LengthFunction.evaluate(Environment env) |
Object |
ExpressionFactory.ParameterFunction.evaluate(Environment env) |
Object |
ExpressionFactory.ArrayFunction.evaluate(Environment env) |
Object |
Expression.evaluate(Environment env)
Evaluate this expression.
|
void |
MapCSSRule.execute(Environment env)
Executes the instructions against the environment
env |
abstract void |
Instruction.execute(Environment env) |
void |
Instruction.AssignmentInstruction.execute(Environment env) |
boolean |
Selector.matches(Environment env)
Apply the selector to the primitive and check if it matches.
|
boolean |
Selector.ChildOrParentSelector.matches(Environment e) |
boolean |
Selector.LinkSelector.matches(Environment env) |
boolean |
Selector.GeneralSelector.matches(Environment e) |
boolean |
Selector.GeneralSelector.matchesBase(Environment e) |
boolean |
Selector.AbstractSelector.matchesConditions(Environment env)
Determines if all conditions match the given environment.
|
Constructor and Description |
---|
MatchingReferrerFinder(Environment e)
Constructor
|