/** * Add a single cell with the given text elements. * * @param aCellTexts * The text to be set into the cell. May be <code>null</code>. * @return the created table cell */ @Nonnull @CheckReturnValue public IHCCell <?> addAndReturnCell (@Nullable final String... aCellTexts) { return addCell ().addChildren (aCellTexts); }
/** * Add a single new cell and add the passed elements. * * @param aCellChildren * The list of elements to add. May be <code>null</code>. * @return The created cell. Never <code>null</code>. */ @Nonnull @CheckReturnValue public IHCCell <?> addAndReturnCell (@Nullable final IHCNode... aCellChildren) { return addCell ().addChildren (aCellChildren); }
/** * Add a single new cell and add the passed elements. * * @param aCellChildren * The list of elements to add. May be <code>null</code>. * @return this (the table row) */ @Nonnull public HCRow addCell (@Nullable final IHCNode... aCellChildren) { addCell ().addChildren (aCellChildren); return this; }
/** * Add a single new cell and add the passed texts. * * @param aCellTexts * The list of texts to add. May be <code>null</code>. * @return this (the table row) */ @Nonnull public HCRow addCell (@Nullable final String... aCellTexts) { addCell ().addChildren (aCellTexts); return this; }
/** * Add a single new cell and add the passed elements. * * @param nIndex * The index where the cell should be added * @param aCellChildren * The list of elements to add. May be <code>null</code>. * @return this (the table row) */ @Nonnull public HCRow addCellAt (@Nonnegative final int nIndex, @Nullable final Iterable <? extends IHCNode> aCellChildren) { addCellAt (nIndex).addChildren (aCellChildren); return this; }
/** * Add a single new cell and add the passed elements. * * @param aCellChildren * The list of elements to add. May be <code>null</code>. * @return The created cell. Never <code>null</code>. */ @Nonnull @CheckReturnValue public IHCCell <?> addAndReturnCell (@Nullable final Iterable <? extends IHCNode> aCellChildren) { return addCell ().addChildren (aCellChildren); }
/** * Add a single new cell and add the passed elements. * * @param aCellChildren * The list of elements to add. May be <code>null</code>. * @return this (the table row) */ @Nonnull public HCRow addCell (@Nullable final Iterable <? extends IHCNode> aCellChildren) { addCell ().addChildren (aCellChildren); return this; }
/** * Add a single cell with the given text elements. * * @param nIndex * The index where the cell should be added * @param aCellTexts * The text to be set into the cell. May be <code>null</code>. * @return the created table cell */ @Nonnull @CheckReturnValue public IHCCell <?> addAndReturnCellAt (@Nonnegative final int nIndex, @Nullable final String... aCellTexts) { return addCellAt (nIndex).addChildren (aCellTexts); }
/** * Add a single new cell and add the passed elements. * * @param nIndex * The index where the cell should be added * @param aCellChildren * The list of elements to add. May be <code>null</code>. * @return this (the table row) */ @Nonnull public HCRow addCellAt (@Nonnegative final int nIndex, @Nullable final IHCNode... aCellChildren) { addCellAt (nIndex).addChildren (aCellChildren); return this; }
/** * Add a single new cell and add the passed elements. * * @param nIndex * The index where the cell should be added * @param aCellChildren * The list of elements to add. May be <code>null</code>. * @return The created cell. Never <code>null</code>. */ @Nonnull @CheckReturnValue public IHCCell <?> addAndReturnCellAt (@Nonnegative final int nIndex, @Nullable final IHCNode... aCellChildren) { return addCellAt (nIndex).addChildren (aCellChildren); }
/** * Add a single new cell and add the passed elements. * * @param nIndex * The index where the cell should be added * @param aCellChildren * The list of elements to add. May be <code>null</code>. * @return The created cell. Never <code>null</code>. */ @Nonnull @CheckReturnValue public IHCCell <?> addAndReturnCellAt (@Nonnegative final int nIndex, @Nullable final Iterable <? extends IHCNode> aCellChildren) { return addCellAt (nIndex).addChildren (aCellChildren); }
/** * Add a single new cell and add the passed texts. * * @param nIndex * The index where the cell should be added * @param aCellChildren * The list of texts to add. May be <code>null</code>. * @return this (the table row) */ @Nonnull public HCRow addCellAt (@Nonnegative final int nIndex, @Nullable final String... aCellChildren) { addCellAt (nIndex).addChildren (aCellChildren); return this; }