|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.table.AbstractTableModel javax.swing.table.DefaultTableModel hoplugins.commons.ui.BaseTableModel
Base TableModel that creates a not editable table and manage the rendering
Field Summary |
Fields inherited from class javax.swing.table.DefaultTableModel |
columnIdentifiers, dataVector |
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Constructor Summary | |
BaseTableModel()
Creates a new instance of BaseTableModel |
|
BaseTableModel(java.util.Vector data,
java.util.Vector columnNames)
Creates a new BaseTableModel object. |
Method Summary | |
java.lang.Class |
getColumnClass(int column)
Method the return the column class type |
boolean |
isCellEditable(int row,
int column)
Method that returns if the cell if editable, false by default |
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, getListeners, getTableModelListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BaseTableModel()
public BaseTableModel(java.util.Vector data, java.util.Vector columnNames)
data
- Vector with the data to be used to fill the tablecolumnNames
- Vector of column namesMethod Detail |
public boolean isCellEditable(int row, int column)
row
- the row index of the cellcolumn
- the column index of the cell
public java.lang.Class getColumnClass(int column)
column
- the column we want to know the class type
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |