diff options
author | Peter Bernard West <pbwest@apache.org> | 2004-07-10 16:34:15 +0000 |
---|---|---|
committer | Peter Bernard West <pbwest@apache.org> | 2004-07-10 16:34:15 +0000 |
commit | fa166cb382a3ee537c9077dcb46ee9278205d893 (patch) | |
tree | 75c5692ce2e5074dcb3bb36c1a13674fbb5e791d | |
parent | 1aa8780c5813f11298fa05eb4fba01a2487d135e (diff) | |
download | xmlgraphics-fop-fa166cb382a3ee537c9077dcb46ee9278205d893.tar.gz xmlgraphics-fop-fa166cb382a3ee537c9077dcb46ee9278205d893.zip |
set(Top,Bottom,Left,Right) mosified to update SpacesRectangle
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197779 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/java/org/apache/fop/area/BorderRectangle.java | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/area/BorderRectangle.java b/src/java/org/apache/fop/area/BorderRectangle.java index 6ba41b899..2fb4f06ce 100644 --- a/src/java/org/apache/fop/area/BorderRectangle.java +++ b/src/java/org/apache/fop/area/BorderRectangle.java @@ -56,4 +56,45 @@ public class BorderRectangle extends AreaFrame { public SpacesRectangle getSpaces() { return spaces; } + + /** + * {@inheritDoc} + * <p>The containing <code>SpacesRectangle</code> is notified of the + * change. + */ + public void setTop(double top) { + super.setTop(top); + spaces.setContents(this); + } + + /** + * {@inheritDoc} + * <p>The containing <code>SpacesRectangle</code> is notified of the + * change. + */ + public void setLeft(double left) { + super.setLeft(left); + spaces.setContents(this); + } + + /** + * {@inheritDoc} + * <p>The containing <code>SpacesRectangle</code> is notified of the + * change. + */ + public void setBottom(double bottom) { + super.setBottom(bottom); + spaces.setContents(this); + } + + /** + * {@inheritDoc} + * <p>The containing <code>SpacesRectangle</code> is notified of the + * change. + */ + public void setRight(double right) { + super.setRight(right); + spaces.setContents(this); + } + } |