|
JCommon 1.0.17-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.base.Library
org.jfree.base.BasicProjectInfo
public class BasicProjectInfo
Basic project info.
Constructor Summary | |
---|---|
BasicProjectInfo()
Default constructor. |
|
BasicProjectInfo(String name,
String version,
String licence,
String info)
Creates a new library reference. |
|
BasicProjectInfo(String name,
String version,
String info,
String copyright,
String licenceName)
Creates a new project info instance. |
Method Summary | |
---|---|
void |
addLibrary(Library library)
Adds a library. |
void |
addOptionalLibrary(Library library)
Adds an optional library. |
void |
addOptionalLibrary(String libraryClass)
Adds an optional library. |
String |
getCopyright()
Returns the copyright statement. |
Library[] |
getLibraries()
Returns a list of libraries used by the project. |
Library[] |
getOptionalLibraries()
Returns a list of optional libraries used by the project. |
void |
setCopyright(String copyright)
Sets the project copyright statement. |
void |
setInfo(String info)
Sets the project info string (for example, this could be the project URL). |
void |
setLicenceName(String licence)
Sets the license name. |
void |
setName(String name)
Sets the project name. |
void |
setVersion(String version)
Sets the project version number. |
Methods inherited from class org.jfree.base.Library |
---|
equals, getInfo, getLicenceName, getName, getVersion, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicProjectInfo()
public BasicProjectInfo(String name, String version, String licence, String info)
name
- the name.version
- the version.licence
- the licence.info
- the web address or other info.public BasicProjectInfo(String name, String version, String info, String copyright, String licenceName)
name
- the project name.version
- the project version.info
- the project info (web site for example).copyright
- the copyright statement.licenceName
- the license name.Method Detail |
---|
public String getCopyright()
public void setCopyright(String copyright)
copyright
- the project copyright statement.public void setInfo(String info)
setInfo
in class Library
info
- the info string.public void setLicenceName(String licence)
setLicenceName
in class Library
licence
- the license name.public void setName(String name)
setName
in class Library
name
- the project name.public void setVersion(String version)
setVersion
in class Library
version
- the version number.public Library[] getLibraries()
public void addLibrary(Library library)
library
- the library.public Library[] getOptionalLibraries()
public void addOptionalLibrary(String libraryClass)
libraryClass
- the library.public void addOptionalLibrary(Library library)
library
- the library.
|
JCommon 1.0.17-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |