hep.analysis
Class PlotFolder

java.lang.Object
  |
  +--hep.analysis.AbstractNamedObject
        |
        +--hep.analysis.Folder
              |
              +--hep.analysis.PlotFolder
All Implemented Interfaces:
NamedObject, java.io.Serializable

public class PlotFolder
extends Folder

Use this class to organize Plot objects into folders. To store a Plot in a folder, pass a folder to the Plot constructor. Folders can be stored in other folders. Simply pass to the PlotFolder constructor the parent PlotFolder.

See Also:
Plot, Serialized Form

Inner classes inherited from class hep.analysis.NamedObject
NamedObject.RenameException
 
Fields inherited from class hep.analysis.AbstractNamedObject
m_parent
 
Constructor Summary
PlotFolder(java.lang.String name)
          Creates a new folder in which you can store Plots and other Plot folders.
PlotFolder(java.lang.String name, PlotFolder parent)
          Creates a new folder in which you can store Plots and other histogram folders, and stores the new folder in another folder.
 
Method Summary
protected  Folder getDefaultParent()
          Get default parent is called when an object is read in with no parent Folder.
 
Methods inherited from class hep.analysis.Folder
add, find, findSubfolder, getChildren, remove, rename, toString
 
Methods inherited from class hep.analysis.AbstractNamedObject
delete, getFolder, getName, rename
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PlotFolder

public PlotFolder(java.lang.String name)
Creates a new folder in which you can store Plots and other Plot folders.
Parameters:
name - the name for the folder. If a folder with the same name already exists, this object will operate on the same folder (i.e., there won't be two with the same name).

PlotFolder

public PlotFolder(java.lang.String name,
                  PlotFolder parent)
Creates a new folder in which you can store Plots and other histogram folders, and stores the new folder in another folder.
Parameters:
name - the name for the folder. If a folder with the same name already exists, this object will operate on the same folder (i.e., there won't be two with the same name).
parent - the folder to store the new folder in
Method Detail

getDefaultParent

protected Folder getDefaultParent()
Description copied from class: AbstractNamedObject
Get default parent is called when an object is read in with no parent Folder. Concrete classes must provide an implementation of this method.
Overrides:
getDefaultParent in class AbstractNamedObject