diff options
author | Peter Bernard West <pbwest@apache.org> | 2004-07-24 04:11:13 +0000 |
---|---|---|
committer | Peter Bernard West <pbwest@apache.org> | 2004-07-24 04:11:13 +0000 |
commit | 98e9d519ef7627a0e247a2370b1a259ef9ffd974 (patch) | |
tree | c3ad17c9da80abc5176836b42bed8788d9252127 | |
parent | d3761a6ff1d45b8691c330102b49bc6b226d31f4 (diff) | |
download | xmlgraphics-fop-98e9d519ef7627a0e247a2370b1a259ef9ffd974.tar.gz xmlgraphics-fop-98e9d519ef7627a0e247a2370b1a259ef9ffd974.zip |
Extends BlockViewportArea.
Unused single argument constructor removed.
clone() removed
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197813 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/java/org/apache/fop/area/PageViewport.java | 32 |
1 files changed, 1 insertions, 31 deletions
diff --git a/src/java/org/apache/fop/area/PageViewport.java b/src/java/org/apache/fop/area/PageViewport.java index 9641fa66e..698738fc6 100644 --- a/src/java/org/apache/fop/area/PageViewport.java +++ b/src/java/org/apache/fop/area/PageViewport.java @@ -30,22 +30,10 @@ import org.apache.fop.fo.flow.FoPageSequence; * The page reference area is then rendered inside the PageRefArea object */ public class PageViewport -extends AbstractViewport +extends BlockViewportArea implements Viewport { /** - * Creates a page viewport at the root of a tree, synchronized on itself, - * with a null page reference area and rectangular area - * @param pageSeq the page-sequence which generated this area - * the page-sequence - */ - public PageViewport( - FoPageSequence pageSeq) { - // The pageSeq is also the generating node - super(pageSeq, pageSeq); - } - - /** * Creates a page viewport with a null page ref area and rectangular area, * and the given parent node and sync object * @param pageSeq the page-sequence which generated this viewport. This is @@ -99,24 +87,6 @@ implements Viewport { } /** - * Clone this page. - * Used by the page master to create a copy of an original page. - * @return a copy of this page and associated viewports - */ - public Object clone() { - synchronized (sync) { - PageViewport pv; - try { - pv = (PageViewport)(super.clone()); - } catch (CloneNotSupportedException e) { - throw new RuntimeException(e); - } - pv.refArea = (PageRefArea)(refArea.clone()); - return pv; - } - } - - /** * Clear the pageRefArea contents to save memory. * This object is kept for the life of the area tree since * it holds id and marker information and is used as a key. |