All Packages Class Hierarchy This Package Previous Next Index
Class hep.analysis.Page
java.lang.Object
|
+----hep.analysis.Page
- public class Page
- extends Object
- implements NamedObject
Class Page represents pages onto which drawable objects
(such as plots and annotations) can be placed. Pages must each have unique names assigned to
them at creation time.
-
Page(String)
- Creates a blank page with the specified name in the default folder.
-
Page(String, PageFolder)
- Creates a blank page with the specified name in the specified folder.
-
add(Drawable)
-
Adds a drawable (such as a plot or annotation) to a page
-
dispose()
- Deletes the page
-
getName()
-
-
getPeer()
-
-
remove(Drawable)
- Removes a drawable from the page
-
removeAll()
- Clears the page
-
setPeer(NamedObjectPeer)
-
-
setVisible(boolean)
-
Page
public Page(String name)
- Creates a blank page with the specified name in the default folder.
The page is attached to the current job
and persists until the job is deleted, or the dispose method for the page is called.
- Parameters:
- name - The name of the page. If a page of this name
already exists it is cleared and a reference
to the previously existing page is returned.
Page
public Page(String name,
PageFolder parent)
- Creates a blank page with the specified name in the specified folder.
The page is attached to the current job
and persists until the job is deleted, or the dispose method for the page is called.
- Parameters:
- name - The name of the page. If a page of this name
already exists it is cleared and a reference
to the previously existing page is returned.
- parent - the PageFolder in which to store this Page
dispose
public void dispose()
- Deletes the page
add
public void add(Drawable d)
- Adds a drawable (such as a plot or annotation) to a page
- Parameters:
- d - The Drawable to be added
remove
public void remove(Drawable d)
- Removes a drawable from the page
- Parameters:
- d - The Drawable to be removed
removeAll
public void removeAll()
- Clears the page
setVisible
public void setVisible(boolean visible)
getName
public String getName()
setPeer
public void setPeer(NamedObjectPeer peer)
getPeer
public NamedObjectPeer getPeer()
All Packages Class Hierarchy This Package Previous Next Index