Class InputMatrixInputBuilder

    • Constructor Detail

    • Method Detail

      • setColumns

        public InputMatrixInputBuilder setColumns​(List<String> columns)
        Add list of columns to the configuration parameters.

        Example:

         api.inputBuilderFactory()
              .createInputMatrix("input")
              .setColumns(["column1", "column2"])
              .setReadOnlyColumns(["readOnly1", "readOnly2"])
              .setFitFieldWidths(true)
              .setDefaultHeight(5)
              .setColumnValueOptions([column1: ["option1", "option2"]])
              .setCanModifyRows(false)
              .setNoCellRefresh(true)
              .setFixTableHeight(true)
              .buildContextParameter()
         
        Parameters:
        columns - List of columns
        Returns:
        self
      • setReadOnlyColumns

        public InputMatrixInputBuilder setReadOnlyColumns​(List<String> readOnlyColumns)
        Add read only list of columns to the configuration parameters.

        Example:

         api.inputBuilderFactory()
              .createInputMatrix("input")
              .setColumns(["column1", "column2"])
              .setReadOnlyColumns(["readOnly1", "readOnly2"])
              .setFitFieldWidths(true)
              .setDefaultHeight(5)
              .setColumnValueOptions([column1: ["option1", "option2"]])
              .setCanModifyRows(false)
              .setNoCellRefresh(true)
              .setFixTableHeight(true)
              .buildContextParameter()
         
        Parameters:
        readOnlyColumns - List of columns
        Returns:
        self
      • setFitFieldWidths

        public InputMatrixInputBuilder setFitFieldWidths​(boolean value)
        Set fit field widths for the configuration parameters.

        Example:

         api.inputBuilderFactory()
              .createInputMatrix("input")
              .setColumns(["column1", "column2"])
              .setReadOnlyColumns(["readOnly1", "readOnly2"])
              .setFitFieldWidths(true)
              .setDefaultHeight(5)
              .setColumnValueOptions([column1: ["option1", "option2"]])
              .setCanModifyRows(false)
              .setNoCellRefresh(true)
              .setFixTableHeight(true)
              .buildContextParameter()
         
        Parameters:
        value - true to enable, false to disable fit field width
        Returns:
        self
      • setDefaultHeight

        public InputMatrixInputBuilder setDefaultHeight​(int value)
        Set default height for the configuration parameters.

        Example:

         api.inputBuilderFactory()
              .createInputMatrix("input")
              .setColumns(["column1", "column2"])
              .setReadOnlyColumns(["readOnly1", "readOnly2"])
              .setFitFieldWidths(true)
              .setDefaultHeight(5)
              .setColumnValueOptions([column1: ["option1", "option2"]])
              .setCanModifyRows(false)
              .setNoCellRefresh(true)
              .setFixTableHeight(true)
              .buildContextParameter()
         
        Parameters:
        value - default height
        Returns:
        self
      • setColumnValueOptions

        public InputMatrixInputBuilder setColumnValueOptions​(Map value)
        Set column value options for the configuration parameters.

        Example:

         api.inputBuilderFactory()
              .createInputMatrix("input")
              .setColumns(["column1", "column2"])
              .setReadOnlyColumns(["readOnly1", "readOnly2"])
              .setFitFieldWidths(true)
              .setDefaultHeight(5)
              .setColumnValueOptions([column1: ["option1", "option2"]])
              .setCanModifyRows(false)
              .setNoCellRefresh(true)
              .setFixTableHeight(true)
              .buildContextParameter()
         
        Parameters:
        value - Map of the column value options
        Returns:
        self
      • setCanModifyRows

        public InputMatrixInputBuilder setCanModifyRows​(boolean value)
        Set row modification flag of the configuration parameters.

        Example:

         api.inputBuilderFactory()
              .createInputMatrix("input")
              .setColumns(["column1", "column2"])
              .setReadOnlyColumns(["readOnly1", "readOnly2"])
              .setFitFieldWidths(true)
              .setDefaultHeight(5)
              .setColumnValueOptions([column1: ["option1", "option2"]])
              .setCanModifyRows(false)
              .setNoCellRefresh(true)
              .setFixTableHeight(true)
              .buildContextParameter()
         
        Parameters:
        value - true to enable, false to disable rows modification
        Returns:
        self
      • setNoCellRefresh

        public InputMatrixInputBuilder setNoCellRefresh​(boolean value)
        Set cell refresher flag of the configuration parameters.

        Example:

         api.inputBuilderFactory()
              .createInputMatrix("input")
              .setColumns(["column1", "column2"])
              .setReadOnlyColumns(["readOnly1", "readOnly2"])
              .setFitFieldWidths(true)
              .setDefaultHeight(5)
              .setColumnValueOptions([column1: ["option1", "option2"]])
              .setCanModifyRows(false)
              .setNoCellRefresh(true)
              .setFixTableHeight(true)
              .buildContextParameter()
         
        Parameters:
        value - true to disable, false to enable cell refresher
        Returns:
        self
      • setFixTableHeight

        public InputMatrixInputBuilder setFixTableHeight​(boolean value)
        Set fix table height flag of the configuration parameters.

        Example:

         api.inputBuilderFactory()
              .createInputMatrix("input")
              .setColumns(["column1", "column2"])
              .setReadOnlyColumns(["readOnly1", "readOnly2"])
              .setFitFieldWidths(true)
              .setDefaultHeight(5)
              .setColumnValueOptions([column1: ["option1", "option2"]])
              .setCanModifyRows(false)
              .setNoCellRefresh(true)
              .setFixTableHeight(true)
              .buildContextParameter()
         
        Parameters:
        value - true to enable, false to disable fix table height
        Returns:
        self