Package groovy.model
Class DefaultTableColumn
java.lang.Object
javax.swing.table.TableColumn
groovy.model.DefaultTableColumn
- All Implemented Interfaces:
java.io.Serializable
@Deprecated
public class DefaultTableColumn
extends javax.swing.table.TableColumn
Deprecated.
Represents a column using a ValueModel to extract the value.
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class javax.swing.table.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 Summary
Constructors Constructor Description DefaultTableColumn(ValueModel valueModel)
Deprecated.DefaultTableColumn(java.lang.Object header, ValueModel valueModel)
Deprecated.DefaultTableColumn(java.lang.Object headerValue, java.lang.Object identifier, ValueModel columnValueModel)
Deprecated. -
Method Summary
Modifier and Type Method Description java.lang.Class
getType()
Deprecated.java.lang.Object
getValue(java.lang.Object row, int rowIndex, int columnIndex)
Deprecated.Evaluates the value of a cellValueModel
getValueModel()
Deprecated.void
setValue(java.lang.Object row, java.lang.Object value, int rowIndex, int columnIndex)
Deprecated.java.lang.String
toString()
Deprecated.Methods inherited from class javax.swing.table.TableColumn
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
DefaultTableColumn
Deprecated. -
DefaultTableColumn
Deprecated. -
DefaultTableColumn
public DefaultTableColumn(java.lang.Object headerValue, java.lang.Object identifier, ValueModel columnValueModel)Deprecated.
-
-
Method Details
-
toString
public java.lang.String toString()Deprecated.- Overrides:
toString
in classjava.lang.Object
-
getValue
public java.lang.Object getValue(java.lang.Object row, int rowIndex, int columnIndex)Deprecated.Evaluates the value of a cell- Parameters:
row
- the row of interestrowIndex
- the index of the row of interestcolumnIndex
- the column of interest- Returns:
- the value
-
setValue
public void setValue(java.lang.Object row, java.lang.Object value, int rowIndex, int columnIndex)Deprecated. -
getType
public java.lang.Class getType()Deprecated.- Returns:
- the column type
-
getValueModel
Deprecated.
-