Package groovy.model

Class DefaultTableColumn

    • Constructor Detail

      • DefaultTableColumn

        public DefaultTableColumn​(ValueModel valueModel)
      • DefaultTableColumn

        public DefaultTableColumn​(Object header,
                                  ValueModel valueModel)
      • DefaultTableColumn

        public DefaultTableColumn​(Object headerValue,
                                  Object identifier,
                                  ValueModel columnValueModel)
    • Method Detail

      • getValue

        public Object getValue​(Object row,
                               int rowIndex,
                               int columnIndex)
        Evaluates the value of a cell
        Parameters:
        row - the row of interest
        rowIndex - the index of the row of interest
        columnIndex - the column of interest
        Returns:
        the value
      • setValue

        public void setValue​(Object row,
                             Object value,
                             int rowIndex,
                             int columnIndex)
      • getType

        public Class getType()
        Returns:
        the column type
      • getValueModel

        public ValueModel getValueModel()