From ec3c28e72612ba7bb6ecc95c5c5b2552c652570d Mon Sep 17 00:00:00 2001 From: Vincent Hennebert Date: Wed, 14 Nov 2007 10:41:52 +0000 Subject: 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 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@594829 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/fo/flow/table/GridUnit.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/java/org/apache/fop/fo/flow/table/GridUnit.java') diff --git a/src/java/org/apache/fop/fo/flow/table/GridUnit.java b/src/java/org/apache/fop/fo/flow/table/GridUnit.java index ff91ae885..d1958605c 100644 --- a/src/java/org/apache/fop/fo/flow/table/GridUnit.java +++ b/src/java/org/apache/fop/fo/flow/table/GridUnit.java @@ -134,7 +134,7 @@ public class GridUnit { * @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 @@ public class GridUnit { * 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 @@ public class GridUnit { * @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 @@ public class GridUnit { * 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]); } -- cgit v1.2.3