public class CadStringParameter extends CadParameter
The Cad string parameter.
Constructor and Description |
---|
CadStringParameter()
Initializes a new instance of the
CadStringParameter class. |
CadStringParameter(int type)
Initializes a new instance of the
CadStringParameter class. |
CadStringParameter(int type,
int optional)
Initializes a new instance of the
CadStringParameter class. |
CadStringParameter(int type,
int optional,
Object defaultValue)
Initializes a new instance of the
CadStringParameter class. |
Modifier and Type | Method and Description |
---|---|
String |
getValue()
Gets or sets the value.
|
void |
init(CadCodeValue value)
Initialize the specified value.
|
void |
init(Object value)
Initialize the specified value.
|
void |
setValue(String value)
Gets or sets the value.
|
getDefaultValue, getIntegralParameterType, getOptional, getSubClassName, getType, init, init, isSet, prepare, setDefaultValue, setIntegralParameterType, setOptional, setSet, setSubClassName
public CadStringParameter(int type)
Initializes a new instance of the CadStringParameter
class.
type
- The type of the parameter.public CadStringParameter(int type, int optional)
Initializes a new instance of the CadStringParameter
class.
type
- The type of the parameter.optional
- The optional flag.public CadStringParameter()
Initializes a new instance of the CadStringParameter
class.
public CadStringParameter(int type, int optional, Object defaultValue)
Initializes a new instance of the CadStringParameter
class.
type
- The type of the parameter.optional
- The optional flag.defaultValue
- The default value.public String getValue()
Gets or sets the value.
public void setValue(String value)
Gets or sets the value.
value
- The value of the parameter.public void init(CadCodeValue value)
Initialize the specified value.
init
in class CadParameter
value
- The value of the parameter.public void init(Object value)
Initialize the specified value.
init
in class CadParameter
value
- The value of the parameter.