@Nullable default HCRow getBodyRowAtIndex (@Nonnegative final int nIndex) { return getBody ().getChildAtIndex (nIndex); }
@Nonnegative default int getBodyRowCount () { return getBody ().getChildCount (); }
@Nullable default HCRow getLastBodyRow () { return getBody ().getLastChild (); }
default boolean hasBodyClasses () { return getBody ().hasAnyClass (); }
/** * @return <code>true</code> if a body ID is present, <code>false</code> * otherwise */ default boolean hasBodyID () { return getBody ().hasID (); }
@Nonnull default String getAllBodyClassesAsString () { return getBody ().getAllClassesAsString (); }
@Nonnull default HCRow addBodyRow () { return getBody ().addRow (); }
/** * Add a body row at the specified index. * * @param nIndex * The index to be used. Should be ≥ 0. * @return this for chaining */ @Nonnull default HCRow addBodyRowAt (@Nonnegative final int nIndex) { return getBody ().addRowAt (nIndex); }
@Nullable default HCRow getFirstBodyRow () { return getBody ().getFirstChild (); }
default boolean hasBodyRows () { return getBody ().hasChildren (); }
@Nullable default String getBodyID () { return getBody ().getID (); }
@Nonnull default IMPLTYPE addBodyRow (@Nullable final HCRow aRow) { getBody ().addChild (aRow); 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 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 addBodyClass (@Nonnull final ICSSClassProvider aCSSClassProvider) { getBody ().addClass (aCSSClassProvider); return thisAsT (); }
@Nonnull default IMPLTYPE removeBodyClass (@Nonnull final ICSSClassProvider aCSSClassProvider) { getBody ().removeClass (aCSSClassProvider); return thisAsT (); }
@Nonnull default IMPLTYPE removeAllBodyRows () { getBody ().removeAllChildren (); return thisAsT (); }
@Nonnull @ReturnsMutableCopy default ICommonsSet <ICSSClassProvider> getAllBodyClasses () { return getBody ().getAllClasses (); }
@Nonnull @ReturnsMutableCopy default ICommonsList <HCRow> getAllBodyRows () { return getBody ().getAllChildren (); }