public class CadIntParameter extends CadParameterT<Integer>
The Cad integer parameter.
Constructor and Description |
---|
CadIntParameter()
Initializes a new instance of the
CadIntParameter class. |
CadIntParameter(int type)
Initializes a new instance of the
CadIntParameter class. |
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Gets or sets the value.
|
void |
init(CadCodeValue value)
Initialize the specified value.
|
void |
init(Object value)
Initialize the specified value.
|
void |
setValue(int value)
Gets or sets the value.
|
getObjectValue, setObjectValue
getType, init, init
public CadIntParameter(int type)
Initializes a new instance of the CadIntParameter
class.
type
- The type of the parameter.public CadIntParameter()
Initializes a new instance of the CadIntParameter
class.
public int getValue()
Gets or sets the value.
public void setValue(int 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 to assign.public void init(Object value)
Initialize the specified value.
init
in class CadParameterT<Integer>
value
- The value of the parameter.