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

Variable Index

 o parameterType
ParameterType contains the type of an individual parameter.

Constructor Index

 o Parameter()

Method Index

 o getDefaultValue()
 o getMaxValue()
 o getMinValue()
 o getParameterName()
 o getParameterType()
 o getRange()
 o getValue()
 o 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.
 o setParameterType(ParameterType)
 o setValue(String)

Variables

 o parameterType
 private ParameterType parameterType
ParameterType contains the type of an individual parameter.

Constructors

 o Parameter
 Parameter()

Methods

 o getValue
 public abstract String getValue()
 o setValue
 public abstract void setValue(String stringVal)
 o getParameterType
 ParameterType getParameterType()
 o setParameterType
 void setParameterType(ParameterType parameterType)
 o getParameterName
 public String getParameterName()
 o getDefaultValue
 public String getDefaultValue()
 o getMinValue
 public String getMinValue()
 o getMaxValue
 public String getMaxValue()
 o getRange
 public String getRange()
 o 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