public class DefaultTableColumn extends TableColumn
CELL_RENDERER_PROPERTY, cellEditor, cellRenderer, COLUMN_WIDTH_PROPERTY, HEADER_RENDERER_PROPERTY, HEADER_VALUE_PROPERTY, headerRenderer, headerValue, identifier, isResizable, maxWidth, minWidth, modelIndex, resizedPostingDisableCount, width
Constructor and Description |
---|
DefaultTableColumn(Object headerValue,
Object identifier,
ValueModel columnValueModel) |
DefaultTableColumn(Object header,
ValueModel valueModel) |
DefaultTableColumn(ValueModel valueModel) |
Modifier and Type | Method and Description |
---|---|
Class |
getType() |
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() |
addPropertyChangeListener, createDefaultHeaderRenderer, disableResizedPosting, enableResizedPosting, getCellEditor, getCellRenderer, getHeaderRenderer, getHeaderValue, getIdentifier, getMaxWidth, getMinWidth, getModelIndex, getPreferredWidth, getPropertyChangeListeners, getResizable, getWidth, removePropertyChangeListener, setCellEditor, setCellRenderer, setHeaderRenderer, setHeaderValue, setIdentifier, setMaxWidth, setMinWidth, setModelIndex, setPreferredWidth, setResizable, setWidth, sizeWidthToFit
public DefaultTableColumn(ValueModel valueModel)
public DefaultTableColumn(Object header, ValueModel valueModel)
public DefaultTableColumn(Object headerValue, Object identifier, ValueModel columnValueModel)
public Object getValue(Object row, int rowIndex, int columnIndex)
row
- the row of interestrowIndex
- the index of the row of interestcolumnIndex
- the column of interestpublic Class getType()
public ValueModel getValueModel()