public class CadDoubleParameter extends CadParameterT<Double>
Class for Double values
| Constructor and Description |
|---|
CadDoubleParameter()
Initializes a new instance of the
CadDoubleParameter class. |
CadDoubleParameter(int attribute)
Initializes a new instance of the
CadDoubleParameter class. |
| Modifier and Type | Method and Description |
|---|---|
double |
getValue()
Gets or sets the value.
|
void |
init(CadCodeValue value)
Initialize the specified value.
|
void |
init(Object value)
Initialize the specified value.
|
void |
setValue(double value)
Gets or sets the value.
|
getObjectValue, setObjectValuegetType, init, initpublic CadDoubleParameter(int attribute)
Initializes a new instance of the CadDoubleParameter class.
attribute - The attribute.public CadDoubleParameter()
Initializes a new instance of the CadDoubleParameter class.
public double getValue()
Gets or sets the value.
public void setValue(double value)
Gets or sets the value.
value - The value of the parameter.public void init(CadCodeValue value)
Initialize the specified value.
init in class CadParametervalue - The string value will be converted to Double.public void init(Object value)
Initialize the specified value.
init in class CadParameterT<Double>value - The value of the parameter.