org.jfree.ui.about

Class ProjectInfo

public class ProjectInfo extends BootableProjectInfo

A class for recording the basic information about a free or open source software project.

Author: David Gilbert

Constructor Summary
ProjectInfo()
Constructs an empty project info object.
ProjectInfo(String name, String version, String info, Image logo, String copyright, String licenceName, String licenceText)
Constructs a project info object.
Method Summary
ListgetContributors()
Returns the list of contributors for the project.
StringgetLicenceText()
Returns the licence text.
ImagegetLogo()
Returns the logo.
voidsetContributors(List contributors)
Sets the list of contributors.
voidsetLicenceText(String licenceText)
Sets the project licence text.
voidsetLogo(Image logo)
Sets the project logo.
StringtoString()
Returns a string describing the project.

Constructor Detail

ProjectInfo

public ProjectInfo()
Constructs an empty project info object.

ProjectInfo

public ProjectInfo(String name, String version, String info, Image logo, String copyright, String licenceName, String licenceText)
Constructs a project info object.

Parameters: name the name of the project. version the version. info other info (usually a URL). logo the project logo. copyright a copyright statement. licenceName the name of the licence that applies to the project. licenceText the text of the licence that applies to the project.

Method Detail

getContributors

public List getContributors()
Returns the list of contributors for the project.

Returns: the list of contributors.

getLicenceText

public String getLicenceText()
Returns the licence text.

Returns: the licence text.

getLogo

public Image getLogo()
Returns the logo.

Returns: the project logo.

setContributors

public void setContributors(List contributors)
Sets the list of contributors.

Parameters: contributors the list of contributors.

setLicenceText

public void setLicenceText(String licenceText)
Sets the project licence text.

Parameters: licenceText the licence text.

setLogo

public void setLogo(Image logo)
Sets the project logo.

Parameters: logo the project logo.

toString

public String toString()
Returns a string describing the project.

Returns: a string describing the project.