Package org.jfree.base
Class Library
java.lang.Object
org.jfree.base.Library
- Direct Known Subclasses:
BasicProjectInfo
,Library
A simple class representing a library in a software project. For use in
the
AboutFrame
class.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Tests this object for equality with an arbitrary object.getInfo()
Returns the project info for the library.Returns the licenceName text.getName()
Returns the library name.Returns the library version.int
hashCode()
Returns a hash code for this instance.protected void
Sets the project info.protected void
setLicenceName
(String licenceName) Sets the licence name.protected void
Sets the project name.protected void
setVersion
(String version) Sets the version identifier.
-
Field Details
-
name
The name. -
version
The version. -
licenceName
The licenceName. -
info
The version.
-
-
Constructor Details
-
Library
Creates a new library reference.- Parameters:
name
- the name.version
- the version.licence
- the licenceName.info
- the web address or other info.
-
Library
protected Library()Creates a new library reference.
-
-
Method Details
-
getName
Returns the library name.- Returns:
- the library name.
-
getVersion
Returns the library version.- Returns:
- the library version.
-
getLicenceName
Returns the licenceName text.- Returns:
- the licenceName text.
-
getInfo
Returns the project info for the library.- Returns:
- the project info.
-
setInfo
Sets the project info.- Parameters:
info
- the project info.
-
setLicenceName
Sets the licence name.- Parameters:
licenceName
- the licence name.
-
setName
Sets the project name.- Parameters:
name
- the project name.
-
setVersion
Sets the version identifier.- Parameters:
version
- the version identifier.
-
equals
Tests this object for equality with an arbitrary object. -
hashCode
public int hashCode()Returns a hash code for this instance.
-