@Nonnull default IMPLTYPE addFooterRow (@Nullable final HCRow aRow) { getFoot ().addChild (aRow); return thisAsT (); }
/** * Add a footer row at the specified index. * * @param nIndex * The index to be used. Should be ≥ 0. * @param aRow * The row to be added. May be <code>null</code>. * @return this for chaining */ @Nonnull default IMPLTYPE addFooterRowAt (@Nonnegative final int nIndex, @Nullable final HCRow aRow) { getFoot ().addChildAt (nIndex, aRow); return thisAsT (); }
@Nonnull default IMPLTYPE addFooterClass (@Nonnull final ICSSClassProvider aCSSClassProvider) { getFoot ().addClass (aCSSClassProvider); return thisAsT (); }
@Nonnull default HCRow addFooterRow () { return getFoot ().addRow (); }
/** * Add a footer row at the specified index. * * @param nIndex * The index to be used. Should be ≥ 0. * @return this for chaining */ @Nonnull default HCRow addFooterRowAt (@Nonnegative final int nIndex) { return getFoot ().addRowAt (nIndex); }
/** * Get the contained list object that holds all the rows. Handle with care * because it alters the internal data structures of this table. * * @return The contained list object for external row order handling. */ @Nullable @ReturnsMutableObject ("For performance reasons in derived classes") protected final ICommonsList <HCRow> directGetFooterRowList () { return m_aFoot.directGetRowList (); }
@Nonnull @ReturnsMutableCopy default ICommonsList <HCRow> getAllFooterRows () { return getFoot ().getAllChildren (); }
@Override @OverridingMethodsMustInvokeSuper public boolean canConvertToMicroNode (@Nonnull final IHCConversionSettingsToNode aConversionSettings) { // Avoid creating a table without header, body and footer return m_aBody.canConvertToMicroNode (aConversionSettings) || m_aHead.canConvertToMicroNode (aConversionSettings) || m_aFoot.canConvertToMicroNode (aConversionSettings); }
aElement.appendChild (getFoot ().convertToMicroNode (aConversionSettings));
return new HCGenericElementWithChildren (eElement); case TFOOT: return new HCTFoot (); case TH: return new HCTH ();