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 vh...@apache.org on 2007/11/14 11:41:53 UTC

svn commit: r594829 - in /xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/table: EmptyGridUnit.java GridUnit.java PrimaryGridUnit.java

Author: vhennebert
Date: Wed Nov 14 02:41:52 2007
New Revision: 594829

URL: http://svn.apache.org/viewvc?rev=594829&view=rev
Log:
Reduced visibility of some methods and constructors from public to package-private, as a consequence of the move of *GridUnit to the fo.flow.table package

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/table/EmptyGridUnit.java
    xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/table/GridUnit.java
    xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/table/PrimaryGridUnit.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/table/EmptyGridUnit.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/table/EmptyGridUnit.java?rev=594829&r1=594828&r2=594829&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/table/EmptyGridUnit.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/table/EmptyGridUnit.java Wed Nov 14 02:41:52 2007
@@ -35,7 +35,7 @@
      * @param startRow index of the row this grid unit belongs to, 0-based
      * @param startCol column index, 0-based
      */
-    public EmptyGridUnit(Table table, int startRow, int startCol) {
+    EmptyGridUnit(Table table, int startRow, int startCol) {
         super(table, table.getColumn(startCol), startCol, 0, 0);
     }
 

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/table/GridUnit.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/table/GridUnit.java?rev=594829&r1=594828&r2=594829&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/table/GridUnit.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/table/GridUnit.java Wed Nov 14 02:41:52 2007
@@ -134,7 +134,7 @@
      * @param colSpanIndex index of this grid unit in the span, in column direction
      * @param rowSpanIndex index of this grid unit in the span, in row direction
      */
-    public GridUnit(PrimaryGridUnit primary, TableColumn column, int startCol, int colSpanIndex,
+    GridUnit(PrimaryGridUnit primary, TableColumn column, int startCol, int colSpanIndex,
             int rowSpanIndex) {
         this(primary.getCell(), column, startCol, colSpanIndex, rowSpanIndex);
         this.primary = primary;
@@ -321,7 +321,7 @@
      * Assigns the borders from the given cell to this cell info. Used in case of separate
      * border model.
      */
-    public void assignBorderForSeparateBorderModel() {
+    void assignBorderForSeparateBorderModel() {
         if (cell != null) {
             effectiveBorders = cell.getCommonBorderPaddingBackground();
         }
@@ -335,7 +335,7 @@
      * @param side the side to resolve (one of
      * CommonBorderPaddingBackground.BEFORE|AFTER|START|END)
      */
-    public void resolveBorder(GridUnit other, int side) {
+    void resolveBorder(GridUnit other, int side) {
         BorderSpecification resolvedBorder = collapsingBorderModel.determineWinner(
                 resolvedBorders[side], other.resolvedBorders[CollapsingBorderModel
                         .getOtherSide(side)]);
@@ -353,7 +353,7 @@
      * CommonBorderPaddingBackground.BEFORE|AFTER|START|END)
      * @param parent the parent element holding a competing border
      */
-    public void resolveBorder(int side, TableFObj parent) {
+    void resolveBorder(int side, TableFObj parent) {
         resolvedBorders[side] = collapsingBorderModel.determineWinner(resolvedBorders[side],
                 parent.resolvedBorders[side]);
     }

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/table/PrimaryGridUnit.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/table/PrimaryGridUnit.java?rev=594829&r1=594828&r2=594829&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/table/PrimaryGridUnit.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/table/PrimaryGridUnit.java Wed Nov 14 02:41:52 2007
@@ -53,7 +53,7 @@
      * @param startCol index of the column this grid unit belongs to, zero-based
      * @param startRow index of the row this grid unit belongs to, zero-based
      */
-    public PrimaryGridUnit(TableCell cell, TableColumn column, int startCol, int startRow) {
+    PrimaryGridUnit(TableCell cell, TableColumn column, int startCol, int startRow) {
         super(cell, column, startCol, 0, 0);
         this.startRow = startRow;
         log.trace("PrimaryGridUnit created, row " + startRow + " col " + startCol);



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org