org.jfree.ui.about
Class LibraryTableModel
AbstractTableModel
org.jfree.ui.about.LibraryTableModel
extends AbstractTableModel
A table model containing a list of libraries used in a project.
Used in the LibraryPanel class.
LibraryTableModel
public LibraryTableModel(List libraries)
Constructs a LibraryTableModel.
libraries
- the libraries.
getColumnCount
public int getColumnCount()
Returns the number of columns in the table model. In this case, there are always four
columns (name, version, licence and other info).
- the number of columns in the table model.
getColumnName
public String getColumnName(int column)
Returns the name of a column in the table model.
column
- the column index (zero-based).
- the name of the specified column.
getRowCount
public int getRowCount()
Returns the number of rows in the table model.
getValueAt
public Object getValueAt(int row,
int column)
Returns the value for a cell in the table model.
row
- the row index (zero-based).column
- the column index (zero-based).