hep.analysis
Class PageFolder
java.lang.Object
|
+--hep.analysis.AbstractNamedObject
|
+--hep.analysis.Folder
|
+--hep.analysis.PageFolder
- All Implemented Interfaces:
- NamedObject, java.io.Serializable
- public class PageFolder
- extends Folder
Use this class to organize Page objects into folders. To store a
Page in a folder, pass a folder to the Page constructor. Folders
can be stored in other folders. Simply pass to the PageFolder
constructor the parent PageFolder.
- See Also:
Page
, Serialized Form
Constructor Summary |
PageFolder(java.lang.String name)
Creates a new folder in which you can store pages and other
page folders. |
PageFolder(java.lang.String name,
PageFolder parent)
Creates a new folder in which you can store pages 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PageFolder
public PageFolder(java.lang.String name)
- Creates a new folder in which you can store pages and other
page 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).
PageFolder
public PageFolder(java.lang.String name,
PageFolder parent)
- Creates a new folder in which you can store pages 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
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