diff options
author | Peter Bernard West <pbwest@apache.org> | 2004-07-09 00:31:10 +0000 |
---|---|---|
committer | Peter Bernard West <pbwest@apache.org> | 2004-07-09 00:31:10 +0000 |
commit | 31964b74256b6f0dd878190241d97b9ae058fd9d (patch) | |
tree | 48bfaf0caf4ca1bb659292aa4aea24706838cdf3 | |
parent | 63d6af553d31e7aa51d624b200fc8044cda32e5d (diff) | |
download | xmlgraphics-fop-31964b74256b6f0dd878190241d97b9ae058fd9d.tar.gz xmlgraphics-fop-31964b74256b6f0dd878190241d97b9ae058fd9d.zip |
Override setIPDimPts and setBPDimPts in AreaGeometry.
The override supplements the setting by calling notifyListeners in the parent area.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197772 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/java/org/apache/fop/area/ContentRectangle.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/area/ContentRectangle.java b/src/java/org/apache/fop/area/ContentRectangle.java index b6162402f..962649d20 100644 --- a/src/java/org/apache/fop/area/ContentRectangle.java +++ b/src/java/org/apache/fop/area/ContentRectangle.java @@ -120,4 +120,25 @@ public class ContentRectangle extends AreaGeometry { return super.getFrameRelativeDimensions(); } } + + /** + * {@inheritDoc} + * <p>Any registered listeners are notified of the change in the + * dimension. + */ + public void setIPDimPts(double pts) { + super.setIPDimPts(pts); + area.notifyListeners(); + } + + /** + * {@inheritDoc} + * <p>Any registered listeners are notified of the change in the + * dimension. + */ + public void setBPDimPts(double pts) { + super.setBPDimPts(pts); + area.notifyListeners(); + } + } |