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
        row - the row of interest
        rowIndex - the index of the row of interest
        columnIndex - the column of interest
        the value
      • setValue

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

        public Class getType()
        the column type
      • getValueModel

        public ValueModel getValueModel()