org.opensourcephysics.tools
Class LibraryCatalog

java.lang.Object
  extended by org.opensourcephysics.tools.LibraryRecord
      extended by org.opensourcephysics.tools.LibraryCatalog

public class LibraryCatalog
extends LibraryRecord

This represents a catalog of digital library records.

Version:
1.0
Author:
Douglas Brown

Constructor Summary
LibraryCatalog(java.lang.String name)
           
 
Method Summary
 void addRecord(LibraryRecord record)
           
static java.lang.String getCatalogName(java.lang.String path)
           
 java.lang.String getDescription()
           
 javax.swing.Icon getIcon()
           
static XML.ObjectLoader getLoader()
          Returns an ObjectLoader to save and load data for this class.
 LibraryRecord[] getRecords()
           
 void removeRecord(LibraryRecord record)
           
 void setName(java.lang.String theName)
           
 
Methods inherited from class org.opensourcephysics.tools.LibraryRecord
getBasePath, getInfoPath, getName, getURI, setBasePath, setDescription, setInfoPath
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LibraryCatalog

public LibraryCatalog(java.lang.String name)
Method Detail

setName

public void setName(java.lang.String theName)
Overrides:
setName in class LibraryRecord

getIcon

public javax.swing.Icon getIcon()
Overrides:
getIcon in class LibraryRecord

addRecord

public void addRecord(LibraryRecord record)

removeRecord

public void removeRecord(LibraryRecord record)

getRecords

public LibraryRecord[] getRecords()

getDescription

public java.lang.String getDescription()
Overrides:
getDescription in class LibraryRecord

getCatalogName

public static java.lang.String getCatalogName(java.lang.String path)

getLoader

public static XML.ObjectLoader getLoader()
Returns an ObjectLoader to save and load data for this class.

Returns:
the object loader