(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

Declared in javax.swing.table.TableColumn

Events

Declared in javax.swing.table.TableColumn

Content

Usage

Examples

Access to properties by propertyName name
data = [[first:'qwer', last:'asdf'],
        [first:'zxcv', last:'tyui'],
        [first:'ghjk', last:'bnm']]

swing = new SwingBuilder()
frame = swing.frame(title:'table test'){
  scrollPane {
    table {
        tableModel( list : data ) {
            propertyColumn(header:'First Name', propertyName:'first')
            propertyColumn(header:'Last Name', propertyName:'last')
        }
    }
  }
}
frame.pack()
frame.show()
Access to properties by closure

Observable Attributes