Package org.apache.fop.fo.flow.table
Class CollapsingBorderResolver
- java.lang.Object
-
- org.apache.fop.fo.flow.table.CollapsingBorderResolver
-
- All Implemented Interfaces:
BorderResolver
class CollapsingBorderResolver extends java.lang.Object implements BorderResolver
A class that implements the border-collapsing model.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classCollapsingBorderResolver.ResolverBase class for delegate resolvers.private classCollapsingBorderResolver.ResolverInBodyprivate classCollapsingBorderResolver.ResolverInFooterprivate classCollapsingBorderResolver.ResolverInHeader
-
Field Summary
Fields Modifier and Type Field Description private CollapsingBorderModelcollapsingBorderModelprivate CollapsingBorderResolver.Resolverdelegateprivate booleanfirstInTableprivate java.util.List<GridUnit>footerFirstRowprivate java.util.List<GridUnit>footerLastRowThe last currently registered footer row.private java.util.List<GridUnit>headerLastRowprivate java.util.List<ConditionalBorder>leadingBordersprivate java.util.List<GridUnit>previousRowThe previously registered row, either in the header or the body(-ies), but not in the footer (handled separately).private CollapsingBorderResolver.ResolverresolverInBodyprivate CollapsingBorderResolver.ResolverresolverInFooterprivate Tabletableprivate java.util.List<ConditionalBorder>trailingBorders
-
Constructor Summary
Constructors Constructor Description CollapsingBorderResolver(Table table)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidendPart()Receives notification of the end of a table-header/footer/body.voidendRow(java.util.List<GridUnit> row, TableCellContainer container)Receives notification of the end of a row.voidendTable()Receives notification of the end of the table.voidstartPart(TablePart part)Receives notification of the start of a table-header/footer/body.
-
-
-
Field Detail
-
table
private Table table
-
collapsingBorderModel
private CollapsingBorderModel collapsingBorderModel
-
previousRow
private java.util.List<GridUnit> previousRow
The previously registered row, either in the header or the body(-ies), but not in the footer (handled separately).
-
firstInTable
private boolean firstInTable
-
footerFirstRow
private java.util.List<GridUnit> footerFirstRow
-
footerLastRow
private java.util.List<GridUnit> footerLastRow
The last currently registered footer row.
-
delegate
private CollapsingBorderResolver.Resolver delegate
-
resolverInBody
private CollapsingBorderResolver.Resolver resolverInBody
-
resolverInFooter
private CollapsingBorderResolver.Resolver resolverInFooter
-
leadingBorders
private java.util.List<ConditionalBorder> leadingBorders
-
trailingBorders
private java.util.List<ConditionalBorder> trailingBorders
-
headerLastRow
private java.util.List<GridUnit> headerLastRow
-
-
Constructor Detail
-
CollapsingBorderResolver
CollapsingBorderResolver(Table table)
-
-
Method Detail
-
endRow
public void endRow(java.util.List<GridUnit> row, TableCellContainer container)
Receives notification of the end of a row.- Specified by:
endRowin interfaceBorderResolver- Parameters:
row- the row that has just been finishedcontainer- the FO element holding the given row
-
startPart
public void startPart(TablePart part)
Receives notification of the start of a table-header/footer/body.- Specified by:
startPartin interfaceBorderResolver- Parameters:
part- the part that has started
-
endPart
public void endPart()
Receives notification of the end of a table-header/footer/body.- Specified by:
endPartin interfaceBorderResolver
-
endTable
public void endTable()
Receives notification of the end of the table.- Specified by:
endTablein interfaceBorderResolver
-
-