Packages

 

com.aspose.cad.fileformats.cad.cadparameters

Class CadBoolParameter



  • public class CadBoolParameter
    extends CadParameter

    The Cad boolean parameter.

    • Constructor Detail

      • CadBoolParameter

        public CadBoolParameter(int type)

        Initializes a new instance of the CadBoolParameter class.

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

        public CadBoolParameter()

        Initializes a new instance of the CadBoolParameter class.

      • CadBoolParameter

        public CadBoolParameter(int type,
                        int optional)

        Initializes a new instance of the CadBoolParameter class.

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

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

        Initializes a new instance of the CadBoolParameter class.

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

      • getValue

        public boolean getValue()

        Gets or sets a value indicating whether this CadBoolParameter is value.

        Returns:
        true if value; otherwise, false.
      • setValue

        public void setValue(boolean value)

        Gets or sets a value indicating whether this CadBoolParameter is value.

        Parameters:
        value - true if value; otherwise, false.
      • init

        public void init(CadCodeValue value)

        Initialize the specified value.

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

        public void init(Object value)

        Initialize the specified value.

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