All Packages Class Hierarchy This Package Previous Next Index
Class parameter.Parameter
java.lang.Object
|
+----parameter.Parameter
- public abstract class Parameter
- extends Object
- implements StoreElement
The parameter can contain all different parameters.
Parameters will be passed on to a module/program
as an argument of the Modulable.run() method.
This abstract class can contain all 4 different parameters:
integer, reals (represented by doubles), strings and booleans.
The parameters are read from the Module Description File and the
parameter value can be set in EditModuleDialog.
- See Also:
- run, IntegerParameter, RealParameter, StringParameter, BooleanParameter
-
parameterType
- ParameterType contains the type of an individual parameter.
-
Parameter()
-
-
getDefaultValue()
-
-
getMaxValue()
-
-
getMinValue()
-
-
getParameterName()
-
-
getParameterType()
-
-
getRange()
-
-
getValue()
-
-
makeParameterClass(ParameterType, String)
- Depending on the ParameterType of a parameter makeParameterClass will
create the right instance of that parameter, either IntegerParameter,
RealParameter, StringParameter or BooleanParameter.
-
setParameterType(ParameterType)
-
-
setValue(String)
-
parameterType
private ParameterType parameterType
- ParameterType contains the type of an individual parameter.
Parameter
Parameter()
getValue
public abstract String getValue()
setValue
public abstract void setValue(String stringVal)
getParameterType
ParameterType getParameterType()
setParameterType
void setParameterType(ParameterType parameterType)
getParameterName
public String getParameterName()
getDefaultValue
public String getDefaultValue()
getMinValue
public String getMinValue()
getMaxValue
public String getMaxValue()
getRange
public String getRange()
makeParameterClass
public static Parameter makeParameterClass(ParameterType parType,
String defaultValue)
- Depending on the ParameterType of a parameter makeParameterClass will
create the right instance of that parameter, either IntegerParameter,
RealParameter, StringParameter or BooleanParameter.
All Packages Class Hierarchy This Package Previous Next Index