Package org.jfree.ui.about
Class ProjectInfo
java.lang.Object
org.jfree.base.Library
org.jfree.base.BasicProjectInfo
org.jfree.base.BootableProjectInfo
org.jfree.ui.about.ProjectInfo
- Direct Known Subclasses:
JCommonInfo
,JCommonXMLInfo
A class for recording the basic information about a free or open source software project.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the list of contributors for the project.Returns the licence text.getLogo()
Returns the logo.void
setContributors
(List contributors) Sets the list of contributors.void
setLicenceText
(String licenceText) Sets the project licence text.void
Sets the project logo.toString()
Returns a string describing the project.Methods inherited from class org.jfree.base.BootableProjectInfo
addDependency, getBootClass, getDependencies, isAutoBoot, setAutoBoot, setBootClass
Methods inherited from class org.jfree.base.BasicProjectInfo
addLibrary, addOptionalLibrary, addOptionalLibrary, getCopyright, getLibraries, getOptionalLibraries, setCopyright, setInfo, setLicenceName, setName, setVersion
Methods inherited from class org.jfree.base.Library
equals, getInfo, getLicenceName, getName, getVersion, hashCode
-
Field Details
-
logo
An optional project logo. -
licenceText
The licence text. -
contributors
A list of contributors.
-
-
Constructor Details
-
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 Details
-
getLogo
Returns the logo.- Returns:
- the project logo.
-
setLogo
Sets the project logo.- Parameters:
logo
- the project logo.
-
getLicenceText
Returns the licence text.- Returns:
- the licence text.
-
setLicenceText
Sets the project licence text.- Parameters:
licenceText
- the licence text.
-
getContributors
Returns the list of contributors for the project.- Returns:
- the list of contributors.
-
setContributors
Sets the list of contributors.- Parameters:
contributors
- the list of contributors.
-
toString
Returns a string describing the project.
-