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.
  • Method Details

    • setBordersFromCell

      protected void setBordersFromCell()
      Prepares the borders of this grid unit for upcoming resolution, in the collapsing model.
      Overrides:
      setBordersFromCell in class GridUnit
    • getPrimary

      public PrimaryGridUnit getPrimary()
      Returns the before-start grid unit of the cell containing this grid unit.
      Overrides:
      getPrimary in class GridUnit
      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?
      Overrides:
      isPrimary in class GridUnit
      Returns:
      true if this grid unit is the before-start grid unit of the cell
    • isLastGridUnitColSpan

      public boolean isLastGridUnitColSpan()
      Overrides:
      isLastGridUnitColSpan in class GridUnit
      Returns:
      true if the grid unit is the last in column spanning direction
    • isLastGridUnitRowSpan

      public boolean isLastGridUnitRowSpan()
      Overrides:
      isLastGridUnitRowSpan in class GridUnit
      Returns:
      true if the grid unit is the last in row spanning direction