aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2007-12-14 12:23:10 +0000
committerVincent Hennebert <vhennebert@apache.org>2007-12-14 12:23:10 +0000
commit79d9dab416b7676bbb914dcecd80416a422b5c48 (patch)
tree80ae522b86236aee40410f3b98a6f2797f342edc /src/java/org/apache/fop
parentc6363fe8a30d2d5c6fa6f588966a35f4352f7ac0 (diff)
downloadxmlgraphics-fop-79d9dab416b7676bbb914dcecd80416a422b5c48.tar.gz
xmlgraphics-fop-79d9dab416b7676bbb914dcecd80416a422b5c48.zip
Reduced visibility of methods from public to package-private
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@604180 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r--src/java/org/apache/fop/layoutmgr/table/RowPainter.java8
-rw-r--r--src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java16
2 files changed, 12 insertions, 12 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/table/RowPainter.java b/src/java/org/apache/fop/layoutmgr/table/RowPainter.java
index 1ea0d308e..73cce29e4 100644
--- a/src/java/org/apache/fop/layoutmgr/table/RowPainter.java
+++ b/src/java/org/apache/fop/layoutmgr/table/RowPainter.java
@@ -79,7 +79,7 @@ class RowPainter {
private int[] partBPD;
private TableContentLayoutManager tclm;
- public RowPainter(TableContentLayoutManager tclm, LayoutContext layoutContext) {
+ RowPainter(TableContentLayoutManager tclm, LayoutContext layoutContext) {
this.tclm = tclm;
this.layoutContext = layoutContext;
this.colCount = tclm.getColumns().getColumnCount();
@@ -91,7 +91,7 @@ class RowPainter {
Arrays.fill(end, -1);
}
- public int getAccumulatedBPD() {
+ int getAccumulatedBPD() {
return this.accumulatedBPD;
}
@@ -101,7 +101,7 @@ class RowPainter {
*
* @param tcpos a position representing the row fragment
*/
- public void handleTableContentPosition(TableContentPosition tcpos) {
+ void handleTableContentPosition(TableContentPosition tcpos) {
if (lastRow != tcpos.row && lastRow != null) {
addAreasAndFlushRow(false);
}
@@ -146,7 +146,7 @@ class RowPainter {
* part
* @return the height of the (grid) row
*/
- public int addAreasAndFlushRow(boolean forcedFlush) {
+ int addAreasAndFlushRow(boolean forcedFlush) {
int actualRowHeight = 0;
int bt = lastRow.getBodyType();
diff --git a/src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java b/src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java
index bcd7f0244..fca0557b7 100644
--- a/src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java
@@ -74,7 +74,7 @@ public class TableContentLayoutManager implements PercentBaseContext {
* Main constructor
* @param parent Parent layout manager
*/
- public TableContentLayoutManager(TableLayoutManager parent) {
+ TableContentLayoutManager(TableLayoutManager parent) {
this.tableLM = parent;
Table table = getTableLM().getTable();
this.bodyIter = new TableRowIterator(table, TableRowIterator.BODY);
@@ -89,7 +89,7 @@ public class TableContentLayoutManager implements PercentBaseContext {
/**
* @return the table layout manager
*/
- public TableLayoutManager getTableLM() {
+ TableLayoutManager getTableLM() {
return this.tableLM;
}
@@ -101,7 +101,7 @@ public class TableContentLayoutManager implements PercentBaseContext {
/**
* @return the column setup of this table
*/
- public ColumnSetup getColumns() {
+ ColumnSetup getColumns() {
return getTableLM().getColumns();
}
@@ -281,7 +281,7 @@ public class TableContentLayoutManager implements PercentBaseContext {
* @param parentIter the position iterator
* @param layoutContext the layout context for adding areas
*/
- public void addAreas(PositionIterator parentIter, LayoutContext layoutContext) {
+ void addAreas(PositionIterator parentIter, LayoutContext layoutContext) {
this.usedBPD = 0;
RowPainter painter = new RowPainter(this, layoutContext);
@@ -437,7 +437,7 @@ public class TableContentLayoutManager implements PercentBaseContext {
* @param row the table-row object or null
* @return the row area or null if there's no background to paint
*/
- public Block getRowArea(TableRow row) {
+ Block getRowArea(TableRow row) {
if (row == null || !row.getCommonBorderPaddingBackground().hasBackground()) {
return null;
} else {
@@ -455,7 +455,7 @@ public class TableContentLayoutManager implements PercentBaseContext {
* @param ipd inline-progression-dimension of the row
* @param yoffset Y offset at which to paint
*/
- public void addRowBackgroundArea(TableRow row, int bpd, int ipd, int yoffset) {
+ void addRowBackgroundArea(TableRow row, int bpd, int ipd, int yoffset) {
//Add row background if any
Block rowBackground = getRowArea(row);
if (rowBackground != null) {
@@ -474,14 +474,14 @@ public class TableContentLayoutManager implements PercentBaseContext {
* Sets the overall starting x-offset. Used for proper placement of cells.
* @param startXOffset starting x-offset (table's start-indent)
*/
- public void setStartXOffset(int startXOffset) {
+ void setStartXOffset(int startXOffset) {
this.startXOffset = startXOffset;
}
/**
* @return the amount of block-progression-dimension used by the content
*/
- public int getUsedBPD() {
+ int getUsedBPD() {
return this.usedBPD;
}