Packages

 

com.aspose.cad.fileformats.cad.cadparameters

Class CadStringParameter



  • public class CadStringParameter
    extends CadParameter

    The Cad string parameter.

    • Constructor Detail

      • CadStringParameter

        public CadStringParameter(int type)

        Initializes a new instance of the CadStringParameter class.

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

        public CadStringParameter(int type,
                                  int optional)

        Initializes a new instance of the CadStringParameter class.

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

        public CadStringParameter()

        Initializes a new instance of the CadStringParameter class.

      • CadStringParameter

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

        Initializes a new instance of the CadStringParameter class.

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

      • getValue

        public String getValue()

        Gets or sets the value.

        Returns:
        The value of the parameter.
      • setValue

        public void setValue(String 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 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.