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 | |
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')
3 files changed, 6 insertions, 6 deletions
diff --git a/src/java/org/apache/fop/fo/flow/table/EmptyGridUnit.java b/src/java/org/apache/fop/fo/flow/table/EmptyGridUnit.java index bcf67b2c5..96fd54ef4 100644 --- a/src/java/org/apache/fop/fo/flow/table/EmptyGridUnit.java +++ b/src/java/org/apache/fop/fo/flow/table/EmptyGridUnit.java @@ -35,7 +35,7 @@ public class EmptyGridUnit extends GridUnit { * @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); } 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]); } diff --git a/src/java/org/apache/fop/fo/flow/table/PrimaryGridUnit.java b/src/java/org/apache/fop/fo/flow/table/PrimaryGridUnit.java index 5dbc9116f..cbc7f1166 100644 --- a/src/java/org/apache/fop/fo/flow/table/PrimaryGridUnit.java +++ b/src/java/org/apache/fop/fo/flow/table/PrimaryGridUnit.java @@ -53,7 +53,7 @@ public class PrimaryGridUnit extends GridUnit { * @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); |