Revision: 7732
Author: victormote
Date: 2006-06-19 19:57:29 -0700 (Mon, 19 Jun 2006)
ViewCVS: http://svn.sourceforge.net/foray/?rev=7732&view=rev
Log Message:
-----------
Table cell should get its BPD from the parent row.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/TableCellRA.java
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/TableCellRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/TableCellRA.java 2006-06-20 02:02:39 UTC (rev 7731)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/TableCellRA.java 2006-06-20 02:57:29 UTC (rev 7732)
@@ -181,7 +181,12 @@
* {@inheritDoc}
*/
public int crBPD() {
- return this.progressionDimension;
+ return this.getTableRow().getProgressionDimension();
}
+ public TableRowContainer getTableRow() {
+ /* Cast validated at construction. */
+ return (TableRowContainer) this.getParent();
+ }
+
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|