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.
- Author:
- David Gilbert
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the list of contributors for the project.Returns the licence text.getLogo()Returns the logo.voidsetContributors(List contributors) Sets the list of contributors.voidsetLicenceText(String licenceText) Sets the project licence text.voidSets the project logo.toString()Returns a string describing the project.Methods inherited from class BootableProjectInfo
addDependency, getBootClass, getDependencies, isAutoBoot, setAutoBoot, setBootClassMethods inherited from class BasicProjectInfo
addLibrary, addOptionalLibrary, addOptionalLibrary, getCopyright, getLibraries, getOptionalLibraries, setCopyright, setInfo, setLicenceName, setName, setVersionMethods inherited from class Library
equals, getInfo, getLicenceName, getName, getVersion, hashCode
-
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
-
setLogo
-
getLicenceText
-
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
-