|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.table.TableColumn groovy.model.DefaultTableColumn
public class DefaultTableColumn extends TableColumn
Represents a column using a ValueModel to extract the value.
Field Summary |
---|
Fields inherited from class TableColumn | |
---|---|
COLUMN_WIDTH_PROPERTY, HEADER_VALUE_PROPERTY, HEADER_RENDERER_PROPERTY, CELL_RENDERER_PROPERTY |
Constructor Summary | |
DefaultTableColumn(ValueModel valueModel)
|
|
DefaultTableColumn(Object header, ValueModel valueModel)
|
|
DefaultTableColumn(Object headerValue, Object identifier, ValueModel columnValueModel)
|
Method Summary | |
---|---|
Class
|
getType()
@return the column type |
Object
|
getValue(Object row, int rowIndex, int columnIndex)
Evaluates the value of a cell |
ValueModel
|
getValueModel()
|
void
|
setValue(Object row, Object value, int rowIndex, int columnIndex)
|
String
|
toString()
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail |
---|
public DefaultTableColumn(ValueModel valueModel)
public DefaultTableColumn(Object header, ValueModel valueModel)
public DefaultTableColumn(Object headerValue, Object identifier, ValueModel columnValueModel)
Method Detail |
---|
public Class getType()
public Object getValue(Object row, int rowIndex, int columnIndex)
row
- the row of interestrowIndex
- the index of the row of interestcolumnIndex
- the column of interest
public ValueModel getValueModel()
public void setValue(Object row, Object value, int rowIndex, int columnIndex)
public String toString()
Copyright © 2003-2013 The Codehaus. All rights reserved.