Class Licences

java.lang.Object
org.jfree.ui.about.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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The GNU General Public Licence.
    static final String
    The GNU Lesser General Public Licence.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the GPL text in a non static way to prevent the compiler to copy the contents of the field.
    static Licences
    Returns a reference to this class.
    Returns the LGPL text in a non static way to prevent the compiler to copy the contents of the field.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • getInstance

      public static Licences getInstance()
      Returns a reference to this class.
      Returns:
      the instance reference.
    • 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.
    • 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.