|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EnhancedTableModel
This is the type of TableModel required by a TableWidget.
Method Summary | |
---|---|
java.util.Vector |
getDataVector()
|
boolean |
isColumnEditable(int columnIndex)
|
boolean |
isEditable()
|
boolean |
isRowEditable(int rowIndex)
|
void |
setCellEditable(int rowIndex,
int columnIndex,
boolean isCellEditable)
Sets the specified cell to the specified editability. |
void |
setColumnEditable(int columnIndex,
boolean isEditable)
Sets all cells within the specified column to the specified editability. |
void |
setColumnIdentifiers(java.util.Vector columnNames)
|
void |
setEditable(boolean isEditable)
Sets all cells within the model to the specified editability. |
void |
setRowEditable(int rowIndex,
boolean isEditable)
Sets all cells within the specified row to the specified editability. |
Methods inherited from interface javax.swing.table.TableModel |
---|
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt |
Method Detail |
---|
java.util.Vector getDataVector()
boolean isColumnEditable(int columnIndex)
columnIndex
- The column's index
boolean isEditable()
boolean isRowEditable(int rowIndex)
rowIndex
- The cell's row index
void setCellEditable(int rowIndex, int columnIndex, boolean isCellEditable)
rowIndex
- The cell's row indexcolumnIndex
- The cell's column indexisEditable
- True if the cell is to be set to editablevoid setColumnEditable(int columnIndex, boolean isEditable)
columnIndex
- The column's indexisEditable
- True if the column's cells are to be set to editablevoid setColumnIdentifiers(java.util.Vector columnNames)
void setEditable(boolean isEditable)
isEditable
- True if the cells are to be set to editablevoid setRowEditable(int rowIndex, boolean isEditable)
rowIndex
- The row's indexisEditable
- True if the row's cells are to be set to editable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |