public abstract class CadParameter extends Object
Parameter base class
Constructor and Description |
---|
CadParameter()
Initializes a new instance of the
CadParameter class. |
CadParameter(int type)
Initializes a new instance of the
CadParameter class. |
Modifier and Type | Method and Description |
---|---|
int |
getType()
Gets the type.
|
abstract void |
init(CadCodeValue value)
Initialize the specified value.
|
void |
init(int type,
CadCodeValue value)
Initialize the specified type.
|
void |
init(int type,
Object value)
Initialize the specified type.
|
abstract void |
init(Object value)
Initialize the specified value.
|
public CadParameter(int type)
Initializes a new instance of the CadParameter
class.
type
- The type of the parameter.public CadParameter()
Initializes a new instance of the CadParameter
class.
public final int getType()
Gets the type.
public final void init(int type, CadCodeValue value)
Initialize the specified type.
type
- The type of the parameter.value
- The value of the parameter.public final void init(int type, Object value)
Initialize the specified type.
type
- The type of the parameter.value
- The value of the parameter.public abstract void init(CadCodeValue value)
Initialize the specified value.
value
- The value of the parameter.public abstract void init(Object value)
Initialize the specified value.
value
- The value of the parameter.