Uses of Interface
org.openstreetmap.josm.gui.mappaint.mapcss.Expression
-
Packages that use Expression Package Description org.openstreetmap.josm.gui.mappaint.mapcss Drawing system based on MapCSS map styles. -
-
Uses of Expression in org.openstreetmap.josm.gui.mappaint.mapcss
Classes in org.openstreetmap.josm.gui.mappaint.mapcss that implement Expression Modifier and Type Class Description static class
ExpressionFactory.AndOperator
"And" logical operator.static class
ExpressionFactory.CondOperator
Conditional operator.static class
ExpressionFactory.IsInsideFunction
Functions#inside
implementation for use inMapCSSTagChecker
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.class
LiteralExpression
Simple literal value, that does not depend on other expressions.Fields in org.openstreetmap.josm.gui.mappaint.mapcss declared as Expression Modifier and Type Field Description private Expression
ExpressionFactory.IsInsideFunction. arg
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
Fields in org.openstreetmap.josm.gui.mappaint.mapcss with type parameters of type Expression Modifier and Type Field Description private List<Expression>
ExpressionFactory.AndOperator. args
private List<Expression>
ExpressionFactory.MinMaxFunction. args
private List<Expression>
ExpressionFactory.OrOperator. args
Methods in org.openstreetmap.josm.gui.mappaint.mapcss that return Expression Modifier and Type Method Description Expression
ExpressionFactory.Factory. createExpression(List<Expression> args)
static Expression
ExpressionFactory. createFunctionExpression(String name, List<Expression> args)
Main method to create an function-like expression.Expression
ExpressionFactory.IsInsideFunction. getArg()
Returns the argumentExpression
ConditionFactory.ExpressionCondition. getExpression()
Returns the expression.Methods in org.openstreetmap.josm.gui.mappaint.mapcss with parameters of type Expression Modifier and Type Method Description static ConditionFactory.ExpressionCondition
ConditionFactory. createExpressionCondition(Expression e, Condition.Context context)
Create a new condition that a expression needs to be fulfilledMethod parameters in org.openstreetmap.josm.gui.mappaint.mapcss with type arguments of type Expression Modifier and Type Method Description Expression
ExpressionFactory.Factory. createExpression(List<Expression> args)
static Expression
ExpressionFactory. createFunctionExpression(String name, List<Expression> args)
Main method to create an function-like expression.Constructors in org.openstreetmap.josm.gui.mappaint.mapcss with parameters of type Expression Constructor Description CondOperator(Expression condition, Expression firstOption, Expression secondOption)
Constructs a newCondOperator
.ExpressionCondition(Expression e)
Constructs a newExpressionFactory
ExpressionSubpart(Expression id)
IsInsideFunction(Expression arg)
Constructs a newIsInsideFunction
.LengthFunction(Expression args)
Constructs a newLengthFunction
.Constructor parameters in org.openstreetmap.josm.gui.mappaint.mapcss with type arguments of type Expression Constructor Description AndOperator(List<Expression> args)
Constructs a newAndOperator
.MinMaxFunction(List<Expression> args, boolean computeMax)
Constructs a newMinMaxFunction
.OrOperator(List<Expression> args)
Constructs a newOrOperator
.
-