Packages

 

com.aspose.cad.fileformats.cad.cadparameters

Class CadIntParameter



  • public class CadIntParameter
    extends CadParameter

    The Cad integer parameter.

    • Constructor Detail

      • CadIntParameter

        public CadIntParameter(int type)

        Initializes a new instance of the CadIntParameter class.

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

        public CadIntParameter()

        Initializes a new instance of the CadIntParameter class.

      • CadIntParameter

        public CadIntParameter(int type,
                               int optional)

        Initializes a new instance of the CadIntParameter class.

        Parameters:
        type - The type of the parameter to create.
        optional - The optional flag.
      • CadIntParameter

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

        Initializes a new instance of the CadIntParameter class.

        Parameters:
        type - The type of the parameter.
        optional - The optional.
        defaultValue - The default value.
    • Method Detail

      • getValue

        public int getValue()

        Gets or sets the value.

        Value: The value of the parameter.
      • setValue

        public void setValue(int value)

        Gets or sets the value.

        Value: The value of the parameter.
      • init

        public void init(CadCodeValue value)

        Initialize the specified value.

        Specified by:
        init in class CadParameter
        Parameters:
        value - The value to assign.
      • init

        public void init(Object value)

        Initialize the specified value.

        Specified by:
        init in class CadParameter
        Parameters:
        value - The value of the parameter.