Package org.geotools.brewer.color
Class PaletteFunction
Object
ExpressionAbstract
DefaultExpression
FunctionExpressionImpl
PaletteFunction
- All Implemented Interfaces:
Expression,Function,FunctionExpression,Factory
- Author:
- James Macgill
-
Field Summary
FieldsFields inherited from class FunctionExpressionImpl
fallback, functionName, name, paramsFields inherited from interface Expression
NIL -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of PaletteFunctionPaletteFunction(FilterFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionSubclass should override, default implementation returns null.intvoidvoidvoidsetFilterFactory(FilterFactory factory) voidsetNumberOfClasses(int i) voidvoidsetParameters(List<Expression> args) Sets the function parameters.toString()Creates a String representation of this Function with the function name and the arguments.Methods inherited from class FunctionExpressionImpl
accept, equals, functionName, getExpression, getFallbackValue, getFunctionName, getImplementationHints, getName, getParameters, hashCode, setFallbackValueMethods inherited from class DefaultExpression
isAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpressionMethods inherited from class ExpressionAbstract
evaluateMethods inherited from interface Expression
evaluate
-
Field Details
-
NAME
-
-
Constructor Details
-
PaletteFunction
public PaletteFunction()Creates a new instance of PaletteFunction -
PaletteFunction
-
-
Method Details
-
setFilterFactory
-
setParameters
Description copied from class:FunctionExpressionImplSets the function parameters.- Specified by:
setParametersin interfaceFunctionExpression- Overrides:
setParametersin classFunctionExpressionImpl
-
getEvaluationExpression
-
setEvaluationExpression
-
getClassifier
-
setClassifier
-
getNumberOfClasses
public int getNumberOfClasses() -
setNumberOfClasses
public void setNumberOfClasses(int i) -
getPaletteName
-
setPaletteName
-
evaluate
Description copied from class:ExpressionAbstractSubclass should override, default implementation returns null.- Specified by:
evaluatein interfaceExpression- Overrides:
evaluatein classFunctionExpressionImpl- Returns:
- default implementation returns null
-
toString
Description copied from class:FunctionExpressionImplCreates a String representation of this Function with the function name and the arguments. The String created should be good for most subclasses- Overrides:
toStringin classFunctionExpressionImpl
-