/** * Add a single new cell and add the passed element. * * @param nIndex * The index where the cell should be added * @param aCellChild * The element to add. May be <code>null</code>. * @return The created cell. Never <code>null</code>. * @deprecated Use {@link #addAndReturnCellAt(int,IHCNode)} instead */ @Deprecated @Nonnull @CheckReturnValue public IHCCell <?> addAndReturnCell (@Nonnegative final int nIndex, @Nullable final IHCNode aCellChild) { return addAndReturnCellAt (nIndex, aCellChild); }
/** * 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>. * @deprecated Use {@link #addAndReturnCellAt(int,IHCNode...)} instead */ @Deprecated @Nonnull @CheckReturnValue public IHCCell <?> addAndReturnCell (@Nonnegative final int nIndex, @Nullable final IHCNode... aCellChildren) { return addAndReturnCellAt (nIndex, aCellChildren); }
/** * Add a single cell with the given text element. * * @param nIndex * The index where the cell should be added * @param sCellText * The text to be set into the cell. May be <code>null</code>. * @return the created table cell * @deprecated Use {@link #addAndReturnCellAt(int,String)} instead */ @Deprecated @Nonnull @CheckReturnValue public IHCCell <?> addAndReturnCell (@Nonnegative final int nIndex, @Nullable final String sCellText) { return addAndReturnCellAt (nIndex, sCellText); }
/** * 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 * @deprecated Use {@link #addAndReturnCellAt(int,String...)} instead */ @Deprecated @Nonnull @CheckReturnValue public IHCCell <?> addAndReturnCell (@Nonnegative final int nIndex, @Nullable final String... aCellTexts) { return addAndReturnCellAt (nIndex, 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 The created cell. Never <code>null</code>. * @deprecated Use {@link #addAndReturnCellAt(int,Iterable)} instead */ @Deprecated @Nonnull @CheckReturnValue public IHCCell <?> addAndReturnCell (@Nonnegative final int nIndex, @Nullable final Iterable <? extends IHCNode> aCellChildren) { return addAndReturnCellAt (nIndex, aCellChildren); }