|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.table.AbstractTableModel | +--com.jrefinery.ui.about.LibraryTableModel
A table model containing a list of libraries used in a project.
Used in the LibraryPanel class.
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Constructor Summary | |
LibraryTableModel(java.util.List libraries)
Constructs a LibraryTableModel. |
Method Summary | |
int |
getColumnCount()
Returns the number of columns in the table model. |
java.lang.String |
getColumnName(int column)
Returns the name of a column in the table model. |
int |
getRowCount()
Returns the number of rows in the table model. |
java.lang.Object |
getValueAt(int row,
int column)
Returns the value for a cell in the table model. |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, isCellEditable, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LibraryTableModel(java.util.List libraries)
libraries
- the libraries.Method Detail |
public int getRowCount()
getRowCount
in class javax.swing.table.AbstractTableModel
public int getColumnCount()
getColumnCount
in class javax.swing.table.AbstractTableModel
public java.lang.String getColumnName(int column)
getColumnName
in class javax.swing.table.AbstractTableModel
column
- the column index (zero-based).public java.lang.Object getValueAt(int row, int column)
getValueAt
in class javax.swing.table.AbstractTableModel
row
- the row index (zero-based).column
- the column index (zero-based).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |