org.jfree.ui.about

Class Licences

public class Licences extends Object

Contains the full texts of the GNU General Public Licence and the GNU Lesser General Public Licence.

These are used in the presentation of a standard 'About' frame.

Author: David Gilbert

Field Summary
static StringGPL
The GNU General Public Licence.
static StringLGPL
The GNU Lesser General Public Licence.
Method Summary
StringgetGPL()
Returns the GPL text in a non static way to prevent the compiler to copy the contents of the field.
static LicencesgetInstance()
Returns a reference to this class.
StringgetLGPL()
Returns the LGPL text in a non static way to prevent the compiler to copy the contents of the field.

Field Detail

GPL

public static final String GPL
The GNU General Public Licence.

LGPL

public static final String LGPL
The GNU Lesser General Public Licence.

Method Detail

getGPL

public String getGPL()
Returns the GPL text in a non static way to prevent the compiler to copy the contents of the field.

Returns: the GPL licence text.

getInstance

public static Licences getInstance()
Returns a reference to this class.

Returns: the instance reference.

getLGPL

public String getLGPL()
Returns the LGPL text in a non static way to prevent the compiler to copy the contents of the field.

Returns: the LGPL licence text.