Package org.apache.fop.fo.flow.table
Class EmptyGridUnit
java.lang.Object
org.apache.fop.fo.flow.table.GridUnit
org.apache.fop.fo.flow.table.EmptyGridUnit
GridUnit subclass for empty grid units.
-
Field Summary
Fields inherited from class org.apache.fop.fo.flow.table.GridUnit
cell, collapsingBorderModel, FIRST_IN_PART, KEEP_WITH_NEXT_PENDING, KEEP_WITH_PREVIOUS_PENDING, LAST_IN_PART
-
Method Summary
Modifier and TypeMethodDescriptionReturns the before-start grid unit of the cell containing this grid unit.boolean
boolean
boolean
Is this grid unit the before-start grid unit of the cell?protected void
Prepares the borders of this grid unit for upcoming resolution, in the collapsing model.Methods inherited from class org.apache.fop.fo.flow.table.GridUnit
getBorderAfter, getBorderBefore, getBorderEnd, getBorderStart, getCell, getColSpanIndex, getFlag, getRow, getRowSpanIndex, isEmpty, setFlag, setFlag, toString
-
Method Details
-
setBordersFromCell
protected void setBordersFromCell()Prepares the borders of this grid unit for upcoming resolution, in the collapsing model.- Overrides:
setBordersFromCell
in classGridUnit
-
getPrimary
Returns the before-start grid unit of the cell containing this grid unit.- Overrides:
getPrimary
in classGridUnit
- Returns:
- the before-start grid unit of the cell containing this grid unit.
-
isPrimary
public boolean isPrimary()Is this grid unit the before-start grid unit of the cell? -
isLastGridUnitColSpan
public boolean isLastGridUnitColSpan()- Overrides:
isLastGridUnitColSpan
in classGridUnit
- Returns:
- true if the grid unit is the last in column spanning direction
-
isLastGridUnitRowSpan
public boolean isLastGridUnitRowSpan()- Overrides:
isLastGridUnitRowSpan
in classGridUnit
- Returns:
- true if the grid unit is the last in row spanning direction
-