@Nonnull default IMPLTYPE sortAllHeaderRows (@Nonnull final Comparator <? super HCRow> aComparator) { getHead ().sortAllChildren (aComparator); return thisAsT (); }
@Nonnull default IMPLTYPE addFooterClass (@Nonnull final ICSSClassProvider aCSSClassProvider) { getFoot ().addClass (aCSSClassProvider); return thisAsT (); }
@Nonnull default IMPLTYPE removeHeaderClass (@Nonnull final ICSSClassProvider aCSSClassProvider) { getHead ().removeClass (aCSSClassProvider); return thisAsT (); }
@Nonnull default IMPLTYPE addHeaderRow (@Nullable final HCRow aRow) { getHead ().addChild (aRow); return thisAsT (); }
@Nonnull default IMPLTYPE addFooterRow (@Nullable final HCRow aRow) { getFoot ().addChild (aRow); return thisAsT (); }
@Nonnull default IMPLTYPE sortAllFooterRows (@Nonnull final Comparator <? super HCRow> aComparator) { getFoot ().sortAllChildren (aComparator); return thisAsT (); }
@Nonnull default IMPLTYPE addBodyRow (@Nullable final HCRow aRow) { getBody ().addChild (aRow); return thisAsT (); }
@Nonnull default IMPLTYPE removeAllFooterRows () { getFoot ().removeAllChildren (); return thisAsT (); }
@Nonnull default IMPLTYPE setFooterID (@Nullable final String sID) { getFoot ().setID (sID); return thisAsT (); }
@Nonnull default IMPLTYPE setBodyID (@Nullable final String sID) { getBody ().setID (sID); return thisAsT (); }
@Nonnull default IMPLTYPE sortAllBodyRows (@Nonnull final Comparator <? super HCRow> aComparator) { getBody ().sortAllChildren (aComparator); return thisAsT (); }
/** * Remove the header row at the specified index. * * @param nIndex * The index to be used. Should be ≥ 0. * @return this for chaining */ @Nonnull default IMPLTYPE removeHeaderRowAt (@Nonnegative final int nIndex) { getHead ().removeChildAt (nIndex); return thisAsT (); }
/** * Remove a footer row at the specified index. * * @param nIndex * The index to be used. Should be ≥ 0. * @return this for chaining */ @Nonnull default IMPLTYPE removeFooterRowAt (@Nonnegative final int nIndex) { getFoot ().removeChildAt (nIndex); return thisAsT (); }
/** * Remove the body row at the specified index. * * @param nIndex * The index to be used. Should be ≥ 0. * @return this for chaining */ @Nonnull default IMPLTYPE removeBodyRowAt (@Nonnegative final int nIndex) { getBody ().removeChildAt (nIndex); return thisAsT (); }
@Nonnull default IMPLTYPE removeAllHeaderRows () { getHead ().removeAllChildren (); return thisAsT (); }
@Nonnull default IMPLTYPE addBodyClass (@Nonnull final ICSSClassProvider aCSSClassProvider) { getBody ().addClass (aCSSClassProvider); return thisAsT (); }
@Nonnull default IMPLTYPE removeAllBodyRows () { getBody ().removeAllChildren (); return thisAsT (); }
@Nonnull default IMPLTYPE addSpanningBodyContent (@Nullable final IHCNode aNode) { addBodyRow ().addAndReturnCell (aNode).setColspan (getColumnCount ()); return thisAsT (); }
@Nonnull default IMPLTYPE addSpanningHeaderContent (@Nullable final IHCNode aNode) { addHeaderRow ().addAndReturnCell (aNode).setColspan (getColumnCount ()); return thisAsT (); }
@Nonnull default IMPLTYPE addSpanningFooterContent (@Nullable final IHCNode aNode) { addFooterRow ().addAndReturnCell (aNode).setColspan (getColumnCount ()); return thisAsT (); }