@Nonnull default String getAllFooterClassesAsString () { return getFoot ().getAllClassesAsString (); }
@Nonnegative default int getFooterRowCount () { return getFoot ().getChildCount (); }
@Nullable default String getFooterID () { return getFoot ().getID (); }
/** * @return <code>true</code> if a Footer ID is present, <code>false</code> * otherwise */ default boolean hasFooterID () { return getFoot ().hasID (); }
@Nullable default HCRow getLastFooterRow () { return getFoot ().getLastChild (); }
@Nullable default HCRow getFirstFooterRow () { return getFoot ().getFirstChild (); }
@Nullable default HCRow getFooterRowAtIndex (@Nonnegative final int nIndex) { return getFoot ().getChildAtIndex (nIndex); }
@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); }
default boolean hasFooterClasses () { return getFoot ().hasAnyClass (); }
default boolean hasFooterRows () { return getFoot ().hasChildren (); }
@Nonnull default IMPLTYPE setFooterID (@Nullable final String sID) { getFoot ().setID (sID); return thisAsT (); }
@Nonnull default IMPLTYPE removeFooterClass (@Nonnull final ICSSClassProvider aCSSClassProvider) { getFoot ().removeClass (aCSSClassProvider); return thisAsT (); }
@Nonnull default IMPLTYPE addFooterClass (@Nonnull final ICSSClassProvider aCSSClassProvider) { getFoot ().addClass (aCSSClassProvider); 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 (); }
/** * 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 (); }
@Nonnull @ReturnsMutableCopy default ICommonsList <HCRow> getAllFooterRows () { return getFoot ().getAllChildren (); }
@Nonnull default IMPLTYPE removeAllFooterRows () { getFoot ().removeAllChildren (); return thisAsT (); }
@Nonnull @ReturnsMutableCopy default ICommonsSet <ICSSClassProvider> getAllFooterClasses () { return getFoot ().getAllClasses (); }