|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.table.AbstractTableModel
javax.swing.table.DefaultTableModel
gov.nih.nlm.swing.NoEditTableModel
public class NoEditTableModel
DefaultTableModel that is not editable.
| Field Summary |
|---|
| Fields inherited from class javax.swing.table.DefaultTableModel |
|---|
columnIdentifiers, dataVector |
| Fields inherited from class javax.swing.table.AbstractTableModel |
|---|
listenerList |
| Constructor Summary | |
|---|---|
NoEditTableModel()
Instantiates an empty NoEditTableModel. |
|
NoEditTableModel(Object[][] data,
Object[] headers)
Instantiates a NoEditTableModel with the specified data and
headers. |
|
NoEditTableModel(Object[] headers,
int rows)
Instantiates a NoEditTableModel with the specified data and
headers. |
|
NoEditTableModel(Vector data,
int rows)
Instantiates a NoEditTableModel with the specified data and row
count. |
|
NoEditTableModel(Vector data,
Vector headers)
Instantiates a NoEditTableModel with the specified data and
headers. |
|
| Method Summary | |
|---|---|
boolean |
isCellEditable(int row,
int col)
Indicates that cells are NOT editable. |
| Methods inherited from class javax.swing.table.DefaultTableModel |
|---|
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getColumnCount, getColumnName, getDataVector, getRowCount, getValueAt, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount, setValueAt |
| Methods inherited from class javax.swing.table.AbstractTableModel |
|---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NoEditTableModel()
NoEditTableModel.
public NoEditTableModel(Object[][] data,
Object[] headers)
NoEditTableModel with the specified data and
headers.
data - An Object[][] containing table dataheaders - An Object[] containing column headers
public NoEditTableModel(Object[] headers,
int rows)
NoEditTableModel with the specified data and
headers.
headers - An Object[] containing column headersrows - An int row count
public NoEditTableModel(Vector data,
int rows)
NoEditTableModel with the specified data and row
count.
data - An Vector containing table datarows - An int row count
public NoEditTableModel(Vector data,
Vector headers)
NoEditTableModel with the specified data and
headers.
data - An Vector containing table dataheaders - An Vector containing column headers| Method Detail |
|---|
public boolean isCellEditable(int row,
int col)
isCellEditable in interface TableModelisCellEditable in class DefaultTableModelrow - the row indexcol - the column index
false.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||