public abstract class AbstractColumn<T extends AbstractLimaTableModel> extends Object implements Column<T>
| Modifier and Type | Field and Description |
|---|---|
protected TableCellEditor |
cellEditor |
protected Class<?> |
columnClass |
protected String |
columnName |
protected boolean |
editable |
protected ErrorHelper |
errorHelper |
protected T |
tableModel |
| Constructor and Description |
|---|
AbstractColumn(Class<?> columnClass,
String columnName,
boolean editable) |
| Modifier and Type | Method and Description |
|---|---|
TableCellEditor |
getCellEditor() |
Class<?> |
getColumnClass() |
String |
getColumnName() |
boolean |
isCellEditable(int row) |
boolean |
isEditable() |
void |
setCellEditor(TableCellEditor cellEditor) |
void |
setColumnClass(Class<?> columnClass) |
void |
setColumnName(String columnName) |
void |
setEditable(boolean editable) |
void |
setTableModel(T tableModel) |
boolean |
setValueAt(Object value,
int row) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetValueAtprotected T extends AbstractLimaTableModel tableModel
protected Class<?> columnClass
protected String columnName
protected boolean editable
protected TableCellEditor cellEditor
protected ErrorHelper errorHelper
public Class<?> getColumnClass()
getColumnClass in interface Column<T extends AbstractLimaTableModel>public void setTableModel(T tableModel)
setTableModel in interface Column<T extends AbstractLimaTableModel>public boolean isCellEditable(int row)
isCellEditable in interface Column<T extends AbstractLimaTableModel>public boolean setValueAt(Object value, int row)
setValueAt in interface Column<T extends AbstractLimaTableModel>public void setColumnClass(Class<?> columnClass)
public String getColumnName()
getColumnName in interface Column<T extends AbstractLimaTableModel>public void setColumnName(String columnName)
public boolean isEditable()
public void setEditable(boolean editable)
public TableCellEditor getCellEditor()
getCellEditor in interface Column<T extends AbstractLimaTableModel>public void setCellEditor(TableCellEditor cellEditor)
Copyright © 2008–2015 CodeLutin. All rights reserved.