diff options
author | Peter Bernard West <pbwest@apache.org> | 2004-07-24 16:56:00 +0000 |
---|---|---|
committer | Peter Bernard West <pbwest@apache.org> | 2004-07-24 16:56:00 +0000 |
commit | d9b38a9c8c450b8951350974310d3a4557a788c2 (patch) | |
tree | 4a6609c39a72281c61e777d065fbcbd11e8c7324 | |
parent | f9af9af7fc1da9ccbeb59d0a87c7eca2a725122c (diff) | |
download | xmlgraphics-fop-d9b38a9c8c450b8951350974310d3a4557a788c2.tar.gz xmlgraphics-fop-d9b38a9c8c450b8951350974310d3a4557a788c2.zip |
Override setContenst() to trigger update of spaces
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197830 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/java/org/apache/fop/area/BorderRectangle.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/area/BorderRectangle.java b/src/java/org/apache/fop/area/BorderRectangle.java index 2fb4f06ce..344f31cb5 100644 --- a/src/java/org/apache/fop/area/BorderRectangle.java +++ b/src/java/org/apache/fop/area/BorderRectangle.java @@ -22,6 +22,8 @@ package org.apache.fop.area; import java.awt.geom.Point2D; import java.awt.geom.Rectangle2D; +import org.apache.fop.area.Area.AreaGeometry; + /** * @author pbw * @version $Revision$ $Name$ @@ -57,6 +59,11 @@ public class BorderRectangle extends AreaFrame { return spaces; } + public void setContents(AreaGeometry contents) { + super.setContents(contents); + spaces.setContents(this); + } + /** * {@inheritDoc} * <p>The containing <code>SpacesRectangle</code> is notified of the |