Packages

 

com.aspose.cad.fileformats.cad.cadparameters

Class CadParameter

    • Constructor Detail

      • CadParameter

        public CadParameter(int type)

        Initializes a new instance of the CadParameter class.

        Parameters:
        type - The type of the parameter.
      • CadParameter

        public CadParameter(int type,
                            int optional)

        Initializes a new instance of the CadParameter class.

        Parameters:
        type - The type of the parameter.
        optional - The optional flag.
      • CadParameter

        public CadParameter(int type,
                            int optional,
                            Object defaultValue)

        Initializes a new instance of the CadParameter class.

        Parameters:
        type - The type of the parameter.
        optional - The optional flag.
        defaultValue - The default value.
      • CadParameter

        public CadParameter(int type,
                            int optional,
                            Object defaultValue,
                            Object[] bondedObject)

        Initializes a new instance of the CadParameter class.

        Parameters:
        type - The type of the parameter.
        optional - The optional flag.
        defaultValue - The default value.
        bondedObject - The bonded object.
      • CadParameter

        public CadParameter(int type,
                            Object bondingObject)

        Initializes a new instance of the CadParameter class.

        Parameters:
        type - The type of the parameter.
        bondingObject - The bonding object.
      • CadParameter

        public CadParameter()

        Initializes a new instance of the CadParameter class.

    • Method Detail

      • getDefaultValue

        public Object getDefaultValue()

        Gets or sets the default value.

        Value: The default value.
      • setDefaultValue

        public void setDefaultValue(Object value)

        Gets or sets the default value.

        Value: The default value.
      • getIntegralParameterType

        public int getIntegralParameterType()

        Gets or sets the type of the integral parameter.

        Value: The type of the integral parameter.
      • setIntegralParameterType

        public void setIntegralParameterType(int value)

        Gets or sets the type of the integral parameter.

        Value: The type of the integral parameter.
      • getOptional

        public int getOptional()

        Gets or sets a value indicating whether this instance is optional.

        Value: true if this instance is optional; otherwise, false.
      • setOptional

        public void setOptional(int value)

        Gets or sets a value indicating whether this instance is optional.

        Value: true if this instance is optional; otherwise, false.
      • isSet

        public boolean isSet()

        Gets or sets a value indicating whether this instance is set.

        Value: true if this instance is set; otherwise, false.
      • setSet

        public void setSet(boolean value)

        Gets or sets a value indicating whether this instance is set.

        Value: true if this instance is set; otherwise, false.
      • getSubClassName

        public String getSubClassName()

        Gets or sets the name of the sub class.

        Value: The name of the sub class.
      • setSubClassName

        public void setSubClassName(String value)

        Gets or sets the name of the sub class.

        Value: The name of the sub class.
      • getType

        public int getType()

        Gets the type.

        Value: The type.
      • init

        public void init(int type,
                         CadCodeValue value)

        Initialize the specified type.

        Parameters:
        type - The type of the parameter.
        value - The value of the parameter.
      • init

        public void init(int type,
                         Object value)

        Initialize the specified type.

        Parameters:
        type - The type of the parameter.
        value - The value of the parameter.
      • init

        public abstract void init(CadCodeValue value)

        Initialize the specified value.

        Parameters:
        value - The value of the parameter.
      • init

        public abstract void init(Object value)

        Initialize the specified value.

        Parameters:
        value - The value of the parameter.
      • prepare

        public void prepare(int type)

        The prepare function.

        Parameters:
        type - The type of the parameter.