public class Library extends java.lang.Object
AboutFrame
class.Modifier | Constructor and Description |
---|---|
protected |
Library()
Creates a new library reference.
|
|
Library(java.lang.String name,
java.lang.String version,
java.lang.String licence,
java.lang.String info)
Creates a new library reference.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Tests this object for equality with an arbitrary object.
|
java.lang.String |
getInfo()
Returns the project info for the library.
|
java.lang.String |
getLicenceName()
Returns the licenceName text.
|
java.lang.String |
getName()
Returns the library name.
|
java.lang.String |
getVersion()
Returns the library version.
|
int |
hashCode()
Returns a hash code for this instance.
|
protected void |
setInfo(java.lang.String info)
Sets the project info.
|
protected void |
setLicenceName(java.lang.String licenceName)
Sets the licence name.
|
protected void |
setName(java.lang.String name)
Sets the project name.
|
protected void |
setVersion(java.lang.String version)
Sets the version identifier.
|
public Library(java.lang.String name, java.lang.String version, java.lang.String licence, java.lang.String info)
name
- the name.version
- the version.licence
- the licenceName.info
- the web address or other info.protected Library()
public java.lang.String getName()
public java.lang.String getVersion()
public java.lang.String getLicenceName()
public java.lang.String getInfo()
protected void setInfo(java.lang.String info)
info
- the project info.protected void setLicenceName(java.lang.String licenceName)
licenceName
- the licence name.protected void setName(java.lang.String name)
name
- the project name.protected void setVersion(java.lang.String version)
version
- the version identifier.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object.public int hashCode()
hashCode
in class java.lang.Object