pbwest 2004/07/10 09:34:15
Modified: src/java/org/apache/fop/area Tag: FOP_0-20-0_Alt-Design
BorderRectangle.java
Log:
set(Top,Bottom,Left,Right) mosified to update SpacesRectangle
Revision Changes Path
No revision
No revision
1.1.2.6 +43 -2 xml-fop/src/java/org/apache/fop/area/Attic/BorderRectangle.java
Index: BorderRectangle.java
===================================================================
RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/area/Attic/BorderRectangle.java,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -u -r1.1.2.5 -r1.1.2.6
--- BorderRectangle.java 14 Jun 2004 08:53:46 -0000 1.1.2.5
+++ BorderRectangle.java 10 Jul 2004 16:34:15 -0000 1.1.2.6
@@ -56,4 +56,45 @@
public SpacesRectangle getSpaces() {
return spaces;
}
+
+ /**
+ * [EMAIL PROTECTED]
+ * <p>The containing <code>SpacesRectangle</code> is notified of the
+ * change.
+ */
+ public void setTop(double top) {
+ super.setTop(top);
+ spaces.setContents(this);
+ }
+
+ /**
+ * [EMAIL PROTECTED]
+ * <p>The containing <code>SpacesRectangle</code> is notified of the
+ * change.
+ */
+ public void setLeft(double left) {
+ super.setLeft(left);
+ spaces.setContents(this);
+ }
+
+ /**
+ * [EMAIL PROTECTED]
+ * <p>The containing <code>SpacesRectangle</code> is notified of the
+ * change.
+ */
+ public void setBottom(double bottom) {
+ super.setBottom(bottom);
+ spaces.setContents(this);
+ }
+
+ /**
+ * [EMAIL PROTECTED]
+ * <p>The containing <code>SpacesRectangle</code> is notified of the
+ * change.
+ */
+ public void setRight(double right) {
+ super.setRight(right);
+ spaces.setContents(this);
+ }
+
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]