Interface IPLTableGridType

  • All Superinterfaces:
    com.helger.commons.id.IHasID<String>
    All Known Implementing Classes:
    EPLTableGridType

    public interface IPLTableGridType
    extends com.helger.commons.id.IHasID<String>
    Custom PLTable grid specification.
    Author:
    Philip Helger
    • Method Detail

      • applyGridToTable

        default void applyGridToTable​(@Nonnull
                                      PLTable aTable,
                                      @Nonnull
                                      BorderStyleSpec aBSS)
        Apply this grid to the whole provided table.
        Parameters:
        aTable - Table to modify. May not be null.
        aBSS - Border style specification to be used. May not be null.
      • applyGridToTable

        default void applyGridToTable​(@Nonnull
                                      PLTable aTable,
                                      @Nonnull
                                      IPLCellRange aCellRange,
                                      @Nonnull
                                      BorderStyleSpec aBSS)
        Apply this grid to the passed cell range of the provided table.
        Parameters:
        aTable - Table to modify. May not be null.
        aCellRange - The cell range to which it should be applied. May not be null.
        aBSS - Border style specification to be used. May not be null.
      • applyGridToTable

        void applyGridToTable​(@Nonnull
                              PLTable aTable,
                              int nStartRowIncl,
                              int nEndRowIncl,
                              int nStartColumnIncl,
                              int nEndColumnIncl,
                              @Nonnull
                              BorderStyleSpec aBSS)
        Apply this grid to the passed elements of the provided table.
        Parameters:
        aTable - Table to modify. May not be null.
        nStartRowIncl - Start row index (inclusive).
        nEndRowIncl - End row index (inclusive).
        nStartColumnIncl - Start column index (inclusive).
        nEndColumnIncl - End column index (inclusive).
        aBSS - Border style specification to be used. May not be null.