Class CollapsingBorderResolver
java.lang.Object
org.apache.fop.fo.flow.table.CollapsingBorderResolver
- All Implemented Interfaces:
BorderResolver
A class that implements the border-collapsing model.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classBase class for delegate resolvers.private classprivate classprivate class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate CollapsingBorderModelprivate booleanThe last currently registered footer row.private List<ConditionalBorder> The previously registered row, either in the header or the body(-ies), but not in the footer (handled separately).private Tableprivate List<ConditionalBorder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidendPart()Receives notification of the end of a table-header/footer/body.voidendRow(List<GridUnit> row, TableCellContainer container) Receives notification of the end of a row.voidendTable()Receives notification of the end of the table.voidReceives notification of the start of a table-header/footer/body.
-
Field Details
-
table
-
collapsingBorderModel
-
previousRow
-
firstInTable
private boolean firstInTable -
delegate
-
resolverInBody
-
leadingBorders
-
trailingBorders
-
headerLastRow
-
-
Constructor Details
-
CollapsingBorderResolver
CollapsingBorderResolver(Table table)
-
-
Method Details
-
endRow
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
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
-