org.jfree.ui.about
Class Library

java.lang.Object
  |
  +--org.jfree.ui.about.Library

public class Library
extends java.lang.Object

A simple class representing a library in a software project.

Used in the AboutFrame class.

Author:
David Gilbert

Constructor Summary
Library(ProjectInfo project)
          Constructs a library reference from a ProjectInfo object.
Library(java.lang.String name, java.lang.String version, java.lang.String licence, java.lang.String info)
          Creates a new library reference.
 
Method Summary
 java.lang.String getInfo()
          Returns the project info for the library.
 java.lang.String getLicence()
          Returns the licence text.
 java.lang.String getName()
          Returns the library name.
 java.lang.String getVersion()
          Returns the library version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Library

public Library(java.lang.String name,
               java.lang.String version,
               java.lang.String licence,
               java.lang.String info)
Creates a new library reference.

Parameters:
name - the name.
version - the version.
licence - the licence.
info - the web address or other info.

Library

public Library(ProjectInfo project)
Constructs a library reference from a ProjectInfo object.

Parameters:
project - information about a project.
Method Detail

getName

public java.lang.String getName()
Returns the library name.

Returns:
the library name.

getVersion

public java.lang.String getVersion()
Returns the library version.

Returns:
the library version.

getLicence

public java.lang.String getLicence()
Returns the licence text.

Returns:
the licence text.

getInfo

public java.lang.String getInfo()
Returns the project info for the library.

Returns:
the project info.