| Package | Description |
|---|---|
| org.openstreetmap.josm.gui.mappaint.mapcss |
Drawing system based on MapCSS map styles.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
ExpressionFactory.AndOperator
"And" logical operator.
|
static class |
ExpressionFactory.ArrayFunction
Function that takes an arbitrary number of arguments.
|
static class |
ExpressionFactory.CondOperator
Conditional operator.
|
static class |
ExpressionFactory.LengthFunction
Function to calculate the length of a string or list in a MapCSS eval expression.
|
static class |
ExpressionFactory.MinMaxFunction
Computes the maximum/minimum value an arbitrary number of floats, or a list of floats.
|
static class |
ExpressionFactory.NullExpression
Expression that always evaluates to null.
|
static class |
ExpressionFactory.OrOperator
"Or" logical operator.
|
static class |
ExpressionFactory.ParameterFunction
Function that takes a certain number of argument with specific type.
|
class |
LiteralExpression
Simple literal value, that does not depend on other expressions.
|
| Modifier and Type | Field and Description |
|---|---|
private Expression |
ExpressionFactory.LengthFunction.arg |
private Expression |
ExpressionFactory.CondOperator.condition |
(package private) Expression |
ConditionFactory.ExpressionCondition.e |
private Expression |
ExpressionFactory.CondOperator.firstOption |
private Expression |
Subpart.ExpressionSubpart.id |
private Expression |
ExpressionFactory.CondOperator.secondOption |
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<Expression> |
ExpressionFactory.AndOperator.args |
private java.util.List<Expression> |
ExpressionFactory.OrOperator.args |
private java.util.List<Expression> |
ExpressionFactory.MinMaxFunction.args |
private java.util.List<Expression> |
ExpressionFactory.ParameterFunction.args |
private java.util.List<Expression> |
ExpressionFactory.ArrayFunction.args |
| Modifier and Type | Method and Description |
|---|---|
static Expression |
ExpressionFactory.createFunctionExpression(java.lang.String name,
java.util.List<Expression> args)
Main method to create an function-like expression.
|
Expression |
ConditionFactory.ExpressionCondition.getExpression()
Returns the expression.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Expression> |
ExpressionFactory.ParameterFunction.getArgs()
Returns the arguments.
|
| Modifier and Type | Method and Description |
|---|---|
static ConditionFactory.ExpressionCondition |
ConditionFactory.createExpressionCondition(Expression e,
Condition.Context context)
Create a new condition that a expression needs to be fulfilled
|
| Modifier and Type | Method and Description |
|---|---|
static Expression |
ExpressionFactory.createFunctionExpression(java.lang.String name,
java.util.List<Expression> args)
Main method to create an function-like expression.
|
| Constructor and Description |
|---|
CondOperator(Expression condition,
Expression firstOption,
Expression secondOption)
Constructs a new
CondOperator. |
ExpressionCondition(Expression e)
Constructs a new
ExpressionFactory |
ExpressionSubpart(Expression id) |
LengthFunction(Expression args)
Constructs a new
LengthFunction. |
| Constructor and Description |
|---|
AndOperator(java.util.List<Expression> args)
Constructs a new
AndOperator. |
ArrayFunction(java.lang.reflect.Method m,
java.util.List<Expression> args)
Constructs a new
ArrayFunction. |
MinMaxFunction(java.util.List<Expression> args,
boolean computeMax)
Constructs a new
MinMaxFunction. |
OrOperator(java.util.List<Expression> args)
Constructs a new
OrOperator. |
ParameterFunction(java.lang.reflect.Method m,
java.util.List<Expression> args,
boolean needsEnvironment)
Constructs a new
ParameterFunction. |