Packages

 

com.aspose.cad.fileformats.cad.cadparameters

Class CadParameter

  • Direct Known Subclasses:
    CadParameterT


    public abstract class CadParameter
    extends Object

    Parameter base class

    • 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()

        Initializes a new instance of the CadParameter class.

    • Method Detail

      • getType

        public final int getType()

        Gets the type.

        Returns:
        The type.
      • init

        public final 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 final 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.