com.jrefinery.ui.about
Class ProjectInfo

java.lang.Object
  |
  +--com.jrefinery.ui.about.ProjectInfo

public class ProjectInfo
extends java.lang.Object

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

Author:
DG

Constructor Summary
ProjectInfo()
          Constructs an empty project info object.
ProjectInfo(java.lang.String name, java.lang.String version, java.lang.String info, java.awt.Image logo, java.lang.String copyright, java.lang.String licenceName, java.lang.String licenceText)
          Constructs a project info object.
 
Method Summary
 java.util.List getContributors()
          Returns the list of contributors for the project.
 java.lang.String getCopyright()
          Returns the copyright statement.
 java.lang.String getInfo()
          Returns other information about the project (typically a URL for the project home page).
 java.util.List getLibraries()
          Returns a list of libraries used by the project.
 java.lang.String getLicenceName()
          Returns the licence name.
 java.lang.String getLicenceText()
          Returns the licence text.
 java.awt.Image getLogo()
          Returns the logo.
 java.lang.String getName()
          Returns the project name.
 java.lang.String getVersion()
          Returns the project version.
 void setContributors(java.util.List contributors)
          Sets the list of contributors.
 void setCopyright(java.lang.String copyright)
          Sets the project copyright statement.
 void setInfo(java.lang.String info)
          Sets the project info (typically a URL).
 void setLibraries(java.util.List libraries)
          Sets the list of libraries.
 void setLicenceName(java.lang.String licenceName)
          Sets the project licence name.
 void setLicenceText(java.lang.String licenceText)
          Sets the project licence text.
 void setLogo(java.awt.Image logo)
          Sets the project logo.
 void setName(java.lang.String name)
          Sets the project name.
 void setVersion(java.lang.String version)
          Sets the project version.
 java.lang.String toString()
          Returns a string describing the project.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProjectInfo

public ProjectInfo()
Constructs an empty project info object.

ProjectInfo

public ProjectInfo(java.lang.String name,
                   java.lang.String version,
                   java.lang.String info,
                   java.awt.Image logo,
                   java.lang.String copyright,
                   java.lang.String licenceName,
                   java.lang.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

getName

public java.lang.String getName()
Returns the project name.
Returns:
the project name.

setName

public void setName(java.lang.String name)
Sets the project name.
Parameters:
name - the project name.

getVersion

public java.lang.String getVersion()
Returns the project version.
Returns:
the project version.

setVersion

public void setVersion(java.lang.String version)
Sets the project version.
Parameters:
version - the project version.

getInfo

public java.lang.String getInfo()
Returns other information about the project (typically a URL for the project home page).
Returns:
the project info.

setInfo

public void setInfo(java.lang.String info)
Sets the project info (typically a URL).
Parameters:
info - the project info.

getLogo

public java.awt.Image getLogo()
Returns the logo.
Returns:
the project logo.

setLogo

public void setLogo(java.awt.Image logo)
Sets the project logo.
Parameters:
logo - the project logo.

getCopyright

public java.lang.String getCopyright()
Returns the copyright statement.
Returns:
the copyright statement.

setCopyright

public void setCopyright(java.lang.String copyright)
Sets the project copyright statement.
Parameters:
copyright - the project copyright statement.

getLicenceName

public java.lang.String getLicenceName()
Returns the licence name.
Returns:
the licence name.

setLicenceName

public void setLicenceName(java.lang.String licenceName)
Sets the project licence name.
Parameters:
licenceName - the licence name.

getLicenceText

public java.lang.String getLicenceText()
Returns the licence text.
Returns:
the licence text.

setLicenceText

public void setLicenceText(java.lang.String licenceText)
Sets the project licence text.
Parameters:
licenceText - the licence text.

getContributors

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

setContributors

public void setContributors(java.util.List contributors)
Sets the list of contributors.
Parameters:
contributors - the list of contributors.

getLibraries

public java.util.List getLibraries()
Returns a list of libraries used by the project.
Returns:
the list of libraries.

setLibraries

public void setLibraries(java.util.List libraries)
Sets the list of libraries.
Parameters:
libraries - the list of libraries.

toString

public java.lang.String toString()
Returns a string describing the project.
Overrides:
toString in class java.lang.Object
Returns:
a string describing the project.