类 Parameter
java.lang.Object
com.grapecity.documents.excel.Parameter
Represents the parameter of a function.
-
构造器概要
构造器说明Parameter
(FunctionValueType valueType) Initializes an instance of a parameter.Parameter
(FunctionValueType valueType, boolean acceptReference) Initializes an instance of a parameter.Parameter
(FunctionValueType valueType, boolean acceptReference, boolean acceptCustomObjects) Initializes an instance of a parameter.Parameter
(FunctionValueType valueType, Object defaultValue) Initializes an instance of a parameter.Parameter
(FunctionValueType valueType, Object defaultValue, boolean acceptReference) Initializes an instance of a parameter.Parameter
(String name, String description, FunctionValueType valueType, Object defaultValue) Initializes an instance of a parameter.Parameter
(String name, String description, FunctionValueType valueType, Object defaultValue, boolean acceptReference) Initializes an instance of a parameter.Parameter
(String name, String description, FunctionValueType valueType, Object defaultValue, boolean acceptReference, boolean acceptCustomObjects) Initializes an instance of a parameter. -
方法概要
修饰符和类型方法说明final boolean
Gets the parameter can or can't accept reference.final Object
Gets the default value of the parameter;final String
Gets the description of the parameter;final String
getName()
Gets the name of the parameter;final FunctionValueType
Gets the value type of the parameter;
-
构造器详细资料
-
Parameter
Initializes an instance of a parameter.- 参数:
valueType
- The value type of the parameter.
-
Parameter
Initializes an instance of a parameter.- 参数:
valueType
- The value type of the parameter.acceptReference
- If this parameter can accept reference.
-
Parameter
Initializes an instance of a parameter.- 参数:
valueType
- The value type of the parameter.defaultValue
- The default value of the parameter.
-
Parameter
Initializes an instance of a parameter.- 参数:
valueType
- The value type of the parameter.defaultValue
- The default value of the parameter.acceptReference
- If this parameter can accept reference.
-
Parameter
Initializes an instance of a parameter.- 参数:
name
- The name of the parameter.description
- The description of the parameter.valueType
- The value type of the parameter.defaultValue
- The default value of the parameter.
-
Parameter
public Parameter(String name, String description, FunctionValueType valueType, Object defaultValue, boolean acceptReference) Initializes an instance of a parameter.- 参数:
name
-description
- The description of the parameter.valueType
- The value type of the parameter.defaultValue
- The default value of the parameter.acceptReference
- If this parameter can accept reference.
-
Parameter
Initializes an instance of a parameter.- 参数:
valueType
- The value type of the parameter.acceptReference
- If this parameter can accept reference.acceptCustomObjects
- Accepts custom objects if value type isFunctionValueType.Object
.
-
Parameter
public Parameter(String name, String description, FunctionValueType valueType, Object defaultValue, boolean acceptReference, boolean acceptCustomObjects) Initializes an instance of a parameter.- 参数:
name
- The name of the function.description
- The description of the parameter.valueType
- The value type of the parameter.defaultValue
- The default value of the parameter.acceptReference
- If this parameter can accept reference.acceptCustomObjects
- Accepts custom objects if value type isFunctionValueType.Object
.
-
-
方法详细资料
-
getName
Gets the name of the parameter; -
getDescription
Gets the description of the parameter; -
getValueType
Gets the value type of the parameter; -
getDefaultValue
Gets the default value of the parameter; -
getAcceptReference
public final boolean getAcceptReference()Gets the parameter can or can't accept reference.
-