Packages

 

com.aspose.cad.fileformats.cad.cadparameters

Class CadShortParameter



  • public class CadShortParameter
    extends CadParameter

    The Cad short parameter.

    • Constructor Detail

      • CadShortParameter

        public CadShortParameter(int attribute)

        Initializes a new instance of the CadShortParameter class.

        Parameters:
        attribute - The attribute.
      • CadShortParameter

        public CadShortParameter()

        Initializes a new instance of the CadShortParameter class.

      • CadShortParameter

        public CadShortParameter(int type,
                                 int optional)

        Initializes a new instance of the CadShortParameter class.

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

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

        Initializes a new instance of the CadShortParameter class.

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

      • getValue

        public short getValue()

        Gets or sets the value.

        Returns:
        The value of the parameter.
      • setValue

        public void setValue(short value)

        Gets or sets the value.

        Parameters:
        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.