diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2007-11-14 10:41:52 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2007-11-14 10:41:52 +0000 |
commit | ec3c28e72612ba7bb6ecc95c5c5b2552c652570d (patch) | |
tree | 45663044d5f76c3062f12f7b794e82aa406481e8 /src/java/org/apache/fop/fo/flow/table/GridUnit.java | |
parent | 924af95e7a6db63c5e1122ebd22c52ecf381ed2a (diff) | |
download | xmlgraphics-fop-ec3c28e72612ba7bb6ecc95c5c5b2552c652570d.tar.gz xmlgraphics-fop-ec3c28e72612ba7bb6ecc95c5c5b2552c652570d.zip |
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
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/table/GridUnit.java')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/table/GridUnit.java | 8 |
1 files changed, 4 insertions, 4 deletions
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]); } |