Uses of Interface
org.eclipse.nebula.widgets.nattable.formula.function.FunctionValue
-
Packages that use FunctionValue Package Description org.eclipse.nebula.widgets.nattable.formula org.eclipse.nebula.widgets.nattable.formula.function -
-
Uses of FunctionValue in org.eclipse.nebula.widgets.nattable.formula
Methods in org.eclipse.nebula.widgets.nattable.formula that return FunctionValue Modifier and Type Method Description protected FunctionValue
FormulaParser. combineFunctions(List<FunctionValue> values)
CombinesFunctionValue
s for processing the parsed values.FunctionValue
FormulaParser. parseFunction(String function)
Parses the given function string to aFunctionValue
to perform calculation.protected FunctionValue
FormulaParser. parseFunction(String function, Map<Integer,FunctionValue> replacements, Map<IndexCoordinate,Set<IndexCoordinate>> parsedReferences, IndexCoordinate referer)
Parses the given function string to aFunctionValue
to perform calculation.protected FunctionValue
FormulaParser. parseFunction(String function, Map<IndexCoordinate,Set<IndexCoordinate>> parsedReferences, IndexCoordinate referer)
Parses the given function string to aFunctionValue
to perform calculation.Methods in org.eclipse.nebula.widgets.nattable.formula that return types with arguments of type FunctionValue Modifier and Type Method Description protected List<FunctionValue>
FormulaParser. processMultiplicationAndDivision(List<FunctionValue> values)
Process multiplication and divisionFunctionValue
s first.protected List<FunctionValue>
FormulaParser. processPower(List<FunctionValue> values)
Process powerFunctionValue
s first.Method parameters in org.eclipse.nebula.widgets.nattable.formula with type arguments of type FunctionValue Modifier and Type Method Description protected void
FormulaParser. addDataProviderValue(int column, int row, List<FunctionValue> values, Map<IndexCoordinate,Set<IndexCoordinate>> parsedReferences, IndexCoordinate referer)
Retrieves a value from theIDataProvider
for the given coordinates and adds it to the given list ofFunctionValue
s for further processing.protected FunctionValue
FormulaParser. combineFunctions(List<FunctionValue> values)
CombinesFunctionValue
s for processing the parsed values.protected FunctionValue
FormulaParser. parseFunction(String function, Map<Integer,FunctionValue> replacements, Map<IndexCoordinate,Set<IndexCoordinate>> parsedReferences, IndexCoordinate referer)
Parses the given function string to aFunctionValue
to perform calculation.protected String
FormulaParser. processFunctions(String function, Map<Integer,FunctionValue> replacements, Map<IndexCoordinate,Set<IndexCoordinate>> parsedReferences, IndexCoordinate referer)
Process parts of a function that represent a function by name.protected List<FunctionValue>
FormulaParser. processMultiplicationAndDivision(List<FunctionValue> values)
Process multiplication and divisionFunctionValue
s first.protected String
FormulaParser. processParenthesis(String function, Map<Integer,FunctionValue> replacements, Map<IndexCoordinate,Set<IndexCoordinate>> parsedReferences, IndexCoordinate referer)
Process parts of a function that are combined in parenthesis.protected List<FunctionValue>
FormulaParser. processPower(List<FunctionValue> values)
Process powerFunctionValue
s first. -
Uses of FunctionValue in org.eclipse.nebula.widgets.nattable.formula.function
Classes in org.eclipse.nebula.widgets.nattable.formula.function that implement FunctionValue Modifier and Type Class Description class
AbstractFunction
Subclasses are intended to process values that are set to it.class
AbstractMathFunction
Subclass of this class are intended to perform mathematical operations on the values set to it.class
AbstractMathSingleValueFunction
SpecializedAbstractMathFunction
that only allows a single value for processing.class
AbstractSingleValueFunction
SpecializedAbstractFunction
that only allows a single value for processing.class
AverageFunction
Returns the average of a list of supplied numbers.class
BigDecimalFunctionValue
FunctionValue
that carries aBigDecimal
for calculations.class
ModFunction
Returns the remainder from a division between two supplied numbers.class
MultipleValueFunctionValue
FunctionValue
that carries multipleFunctionValue
s.class
NegateFunction
Negates the given value.class
PowerFunction
Returns the result of a given number raised to a supplied power.class
ProductFunction
Returns the product of a supplied list of numbers.class
QuotientFunction
Returns the quotient of a division.class
SquareRootFunction
Returns the positive square root of a given number.class
StringFunctionValue
class
SumFunction
Returns the sum of a supplied list of numbers.Fields in org.eclipse.nebula.widgets.nattable.formula.function with type parameters of type FunctionValue Modifier and Type Field Description protected List<FunctionValue>
AbstractFunction. values
protected List<FunctionValue>
MultipleValueFunctionValue. values
Methods in org.eclipse.nebula.widgets.nattable.formula.function that return FunctionValue Modifier and Type Method Description protected FunctionValue
AbstractMathSingleValueFunction. getSingleValue()
protected FunctionValue
AbstractSingleValueFunction. getSingleValue()
Methods in org.eclipse.nebula.widgets.nattable.formula.function that return types with arguments of type FunctionValue Modifier and Type Method Description List<FunctionValue>
MultipleValueFunctionValue. getValue()
Methods in org.eclipse.nebula.widgets.nattable.formula.function with parameters of type FunctionValue Modifier and Type Method Description void
AbstractFunction. addFunctionValue(FunctionValue value)
void
AbstractMathFunction. addFunctionValue(FunctionValue value)
void
AbstractMathSingleValueFunction. addFunctionValue(FunctionValue value)
void
AbstractSingleValueFunction. addFunctionValue(FunctionValue value)
void
OperatorFunctionValue. addFunctionValue(FunctionValue value)
Add the givenFunctionValue
for calculation.void
SquareRootFunction. addFunctionValue(FunctionValue value)
void
MultipleValueFunctionValue. addValue(FunctionValue value)
Method parameters in org.eclipse.nebula.widgets.nattable.formula.function with type arguments of type FunctionValue Modifier and Type Method Description protected void
AbstractMathFunction. validateMethodParameter(List<FunctionValue> values)
Performs a type check for the given list ofFunctionValue
s and throws aFunctionException
in case aStringFunctionValue
is contained.Constructors in org.eclipse.nebula.widgets.nattable.formula.function with parameters of type FunctionValue Constructor Description AbstractMathSingleValueFunction(FunctionValue value)
AbstractSingleValueFunction(FunctionValue value)
NegateFunction(FunctionValue value)
SquareRootFunction(FunctionValue value)
Constructor parameters in org.eclipse.nebula.widgets.nattable.formula.function with type arguments of type FunctionValue Constructor Description AbstractFunction(List<FunctionValue> values)
AbstractMathFunction(List<FunctionValue> values)
AbstractMathSingleValueFunction(List<FunctionValue> values)
AbstractSingleValueFunction(List<FunctionValue> values)
AverageFunction(List<FunctionValue> values)
ModFunction(List<FunctionValue> values)
MultipleValueFunctionValue(List<FunctionValue> values)
NegateFunction(List<FunctionValue> values)
PowerFunction(List<FunctionValue> values)
ProductFunction(List<FunctionValue> values)
QuotientFunction(List<FunctionValue> values)
SquareRootFunction(List<FunctionValue> values)
SumFunction(List<FunctionValue> values)
-