You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2005/04/09 14:11:35 UTC
cvs commit: xml-fop/src/java/org/apache/fop/layoutmgr/table GridUnit.java
jeremias 2005/04/09 05:11:35
Modified: src/java/org/apache/fop/layoutmgr/table Tag:
Temp_KnuthStylePageBreaking GridUnit.java
Log:
Some javadocs
Revision Changes Path
No revision
No revision
1.1.2.3 +11 -5 xml-fop/src/java/org/apache/fop/layoutmgr/table/GridUnit.java
Index: GridUnit.java
===================================================================
RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/layoutmgr/table/GridUnit.java,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -r1.1.2.2 -r1.1.2.3
--- GridUnit.java 7 Apr 2005 07:09:24 -0000 1.1.2.2
+++ GridUnit.java 9 Apr 2005 12:11:35 -0000 1.1.2.3
@@ -131,6 +131,13 @@
}
}
+ /**
+ * Returns a BorderInfo instance for a side of the currently applicable cell before border
+ * resolution (i.e. the value from the FO). A return value of null indicates an empty cell.
+ * See CollapsingBorderModel(EyeCatching) where this method is used.
+ * @param side for which side to return the BorderInfo
+ * @return the requested BorderInfo instance or null if the grid unit is an empty cell
+ */
public BorderInfo getOriginalBorderInfoForCell(int side) {
if (cell != null) {
return cell.getCommonBorderPaddingBackground().getBorderInfo(side);
@@ -139,14 +146,13 @@
}
}
+ /**
+ * @return the resolved normal borders for this grid unit
+ */
public CommonBorderPaddingBackground getBorders() {
return this.effBorders;
}
- public void setBorders(CommonBorderPaddingBackground borders) {
- this.effBorders = borders;
- }
-
/**
* Assigns the borders from the given cell to this cell info. Used in
* case of separate border model.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org