org.jfree.ui.about

Class LibraryPanel


public class LibraryPanel
extends JPanel

A panel containing a table that lists the libraries used in a project.

Used in the AboutFrame class.

Author:
David Gilbert

Constructor Summary

LibraryPanel(List libraries)
Constructs a LibraryPanel.
LibraryPanel(ProjectInfo projectInfo)
Creates a new library panel for the specified project.

Method Summary

LibraryTableModel
getModel()
Returns the table model for the library.
protected JTable
getTable()
Returns the JTable for the library.

Constructor Details

LibraryPanel

public LibraryPanel(List libraries)
Constructs a LibraryPanel.
Parameters:
libraries - a list of libraries (represented by Library objects).

LibraryPanel

public LibraryPanel(ProjectInfo projectInfo)
Creates a new library panel for the specified project.
Parameters:
projectInfo - the project information.

Method Details

getModel

public LibraryTableModel getModel()
Returns the table model for the library.
Returns:
The table model.

getTable

protected JTable getTable()
Returns the JTable for the library.
Returns:
The table.