Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Table of Contents
maxLevel3
indent0px

(Automatically generated from BeanInfo)

Generated Object

A groovy.model.DefaultTableColumn is returned, unless the user passes in a subclass of DefaultTableColumn as the value argument, in which case the value argument is returned.

Attributes

Declared in groovy.model.DefaultTableColumn

  • type <Class>
  • valueModel <ValueModel>

Declared in javax.swing.table.TableColumn

  • cellEditor <TableCellEditor>
  • cellRenderer <TableCellRenderer>
  • headerRenderer <TableCellRenderer>
  • headerValue <Object>
  • identifier <Object>
  • maxWidth <int>
  • minWidth <int>
  • modelIndex <int>
  • preferredWidth <int>
  • resizable <boolean>
  • width <int>

Events

Declared in javax.swing.table.TableColumn

  • propertyChange (PropertyChangeEvent) - part of PropertyChangeListener

Content

Usage

Examples

Code Block
table {
  tableModel(list:listOfItems) {
    closureColumn(
      header:'Location',
      read: {row -> return row.location},
      write: {row, newValue -> println "write: $row new value: $newValue"}
    }
  }
)

Observable Attributes

  • cellEditor
  • cellRenderer
  • headerRenderer
  • headerValue
  • identifier
  • maxWidth
  • minWidth
  • modelIndex
  • preferredWidth
  • propertyChangeListeners
  • resizable
  • type
  • valueModel
  • width