Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.jfree.formula.function.AbstractFunctionDescription
org.jfree.formula.function.logical.TrueFunctionDescription
public class TrueFunctionDescription
extends AbstractFunctionDescription
Constructor Summary | |
Method Summary | |
FunctionCategory | |
Object |
|
int | |
Type |
|
Type | |
boolean | |
boolean |
|
Methods inherited from class org.jfree.formula.function.AbstractFunctionDescription | |
getBundle , getDefaultValue , getDescription , getDisplayName , getParameterDescription , getParameterDisplayName , isInfiniteParameterCount , isVolatile |
public FunctionCategory getCategory()
- Specified by:
- getCategory in interface FunctionDescription
public Object getDefaultValue(int position)
Returns the default value for an optional parameter. If the value returned here is null, then this either means, that the parameter is mandatory or that the default value is computed by the expression itself.
- Specified by:
- getDefaultValue in interface FunctionDescription
- Overrides:
- getDefaultValue in interface AbstractFunctionDescription
- Parameters:
position
-
- Returns:
public int getParameterCount()
- Specified by:
- getParameterCount in interface FunctionDescription
public Type getParameterType(int position)
- Specified by:
- getParameterType in interface FunctionDescription
public boolean isInfiniteParameterCount()
- Specified by:
- isInfiniteParameterCount in interface FunctionDescription
- Overrides:
- isInfiniteParameterCount in interface AbstractFunctionDescription
public boolean isParameterMandatory(int position)
Defines, whether the parameter at the given position is mandatory. A mandatory parameter must be filled in, while optional parameters need not to be filled in.
- Specified by:
- isParameterMandatory in interface FunctionDescription
- Returns: