cynosurex.util
Class About

java.lang.Object
  extended by cynosurex.util.About
All Implemented Interfaces:
cynosurex.internal.AuthorCommon, cynosurex.internal.CommonInterface, cynosurex.internal.CompanyCommon

public class About
extends java.lang.Object
implements cynosurex.internal.CommonInterface

The about class to display about message uniformly.

Version:
1.0
Author:
Chieh Cheng

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

name

protected java.lang.String name

version

protected java.lang.String version

company

protected java.lang.String company

copyrightYear

protected java.lang.String copyrightYear

license

protected java.lang.String license

URL

protected java.lang.String URL

copyrightSymbol

protected static java.lang.String copyrightSymbol
Constructor Detail

About

public About()
Method Detail

display

public void display()

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)
Deprecated. Replaced by same method name, with additional license type.

Displays the about information based on the argument parameters.

Parameters:
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.

display

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)
Displays the about information based on the argument parameters.

Parameters:
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.

getCompany

public java.lang.String getCompany()

getCopyrightSymbol

public static java.lang.String getCopyrightSymbol()

getCopyrightYear

public java.lang.String getCopyrightYear()

getLicense

public java.lang.String getLicense()

getName

public java.lang.String getName()

getURL

public java.lang.String getURL()

getVersion

public java.lang.String getVersion()

setCompany

public void setCompany(java.lang.String str)
Sets the company name string based on the parameter.

Parameters:
str - The string to set.

setCopyrightSymbol

public static void setCopyrightSymbol(java.lang.String str)
Sets the copyright symbol string based on the parameter.

Parameters:
str - The string to set.

setCopyrightYear

public void setCopyrightYear(java.lang.String str)
Sets the copyright year string based on the parameter.

Parameters:
str - The string to set.

setLicense

public void setLicense(java.lang.String str)
Sets the license type based on the parameter.

Parameters:
str - The string to set.

setName

public void setName(java.lang.String str)
Sets the program name string based on the parameter.

Parameters:
str - The string to set.

setURL

public void setURL(java.lang.String str)
Sets the URL string based on the parameter.

Parameters:
str - The string to set.

setVersion

public void setVersion(java.lang.String str)
Sets the version string based on the parameter.

Parameters:
str - The string to set.