|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcynosurex.util.About
public class About
The about class to display about message uniformly.
Field Summary | |
---|---|
protected java.lang.String |
company
|
protected static java.lang.String |
copyrightSymbol
|
protected java.lang.String |
copyrightYear
|
protected java.lang.String |
license
|
protected java.lang.String |
name
|
protected java.lang.String |
URL
|
protected java.lang.String |
version
|
Fields inherited from interface cynosurex.internal.CommonInterface |
---|
copyright, copyrightYears, notice, program |
Fields inherited from interface cynosurex.internal.AuthorCommon |
---|
author, noticeMsg, rights |
Fields inherited from interface cynosurex.internal.CompanyCommon |
---|
email, website |
Constructor Summary | |
---|---|
About()
|
Method Summary | |
---|---|
void |
display()
|
static void |
display(java.lang.String name,
java.lang.String version,
java.lang.String company,
java.lang.String URL,
java.lang.String copyrightYear)
Deprecated. Replaced by same method name, with additional license type. |
static void |
display(java.lang.String name,
java.lang.String version,
java.lang.String license,
java.lang.String company,
java.lang.String URL,
java.lang.String copyrightYear)
Displays the about information based on the argument parameters. |
java.lang.String |
getCompany()
|
static java.lang.String |
getCopyrightSymbol()
|
java.lang.String |
getCopyrightYear()
|
java.lang.String |
getLicense()
|
java.lang.String |
getName()
|
java.lang.String |
getURL()
|
java.lang.String |
getVersion()
|
void |
setCompany(java.lang.String str)
Sets the company name string based on the parameter. |
static void |
setCopyrightSymbol(java.lang.String str)
Sets the copyright symbol string based on the parameter. |
void |
setCopyrightYear(java.lang.String str)
Sets the copyright year string based on the parameter. |
void |
setLicense(java.lang.String str)
Sets the license type based on the parameter. |
void |
setName(java.lang.String str)
Sets the program name string based on the parameter. |
void |
setURL(java.lang.String str)
Sets the URL string based on the parameter. |
void |
setVersion(java.lang.String str)
Sets the version string based on the parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String name
protected java.lang.String version
protected java.lang.String company
protected java.lang.String copyrightYear
protected java.lang.String license
protected java.lang.String URL
protected static java.lang.String copyrightSymbol
Constructor Detail |
---|
public About()
Method Detail |
---|
public void display()
public static void display(java.lang.String name, java.lang.String version, java.lang.String company, java.lang.String URL, java.lang.String copyrightYear)
name
- The program name.version
- The program version.company
- The company that produced the program.URL
- The associated URL to this program.copyrightYear
- The copyright year of this program.public static void display(java.lang.String name, java.lang.String version, java.lang.String license, java.lang.String company, java.lang.String URL, java.lang.String copyrightYear)
name
- The program name.version
- The program version.license
- The license type.company
- The company that produced the program.URL
- The associated URL to this program.copyrightYear
- The copyright year of this program.public java.lang.String getCompany()
public static java.lang.String getCopyrightSymbol()
public java.lang.String getCopyrightYear()
public java.lang.String getLicense()
public java.lang.String getName()
public java.lang.String getURL()
public java.lang.String getVersion()
public void setCompany(java.lang.String str)
str
- The string to set.public static void setCopyrightSymbol(java.lang.String str)
str
- The string to set.public void setCopyrightYear(java.lang.String str)
str
- The string to set.public void setLicense(java.lang.String str)
str
- The string to set.public void setName(java.lang.String str)
str
- The string to set.public void setURL(java.lang.String str)
str
- The string to set.public void setVersion(java.lang.String str)
str
- The string to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |