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
-
public class EmptyGridUnit extends GridUnit
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrimaryGridUnit
getPrimary()
Returns the before-start grid unit of the cell containing this grid unit.boolean
isLastGridUnitColSpan()
boolean
isLastGridUnitRowSpan()
boolean
isPrimary()
Is this grid unit the before-start grid unit of the cell?protected void
setBordersFromCell()
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 Detail
-
setBordersFromCell
protected void setBordersFromCell()
Prepares the borders of this grid unit for upcoming resolution, in the collapsing model.- Overrides:
setBordersFromCell
in classGridUnit
-
getPrimary
public PrimaryGridUnit 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
-
-