com.jrefinery.ui.about
Class Library

java.lang.Object
  extended by com.jrefinery.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.


Field Summary
protected  java.lang.String info
          The version.
protected  java.lang.String licence
          The licence.
protected  java.lang.String name
          The name.
protected  java.lang.String version
          The version.
 
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 info.
 java.lang.String getLicence()
          Returns the licence.
 java.lang.String getName()
          Returns the name.
 java.lang.String getVersion()
          Returns the version.
 
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
The name.


version

protected java.lang.String version
The version.


licence

protected java.lang.String licence
The licence.


info

protected java.lang.String info
The version.

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 name.


getVersion

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


getLicence

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


getInfo

public java.lang.String getInfo()
Returns the info.



Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.