/** * Add an empty cell at the specified index. * * @param nIndex * The index where the cell should be added * @return The created cell. Never <code>null</code>. * @deprecated Use {@link #addCellAt(int)} instead */ @Deprecated @Nonnull public IHCCell <?> addCell (@Nonnegative final int nIndex) { return addCellAt (nIndex); }
/** * Add a single new cell and add the passed element. * * @param nIndex * The index where the cell should be added * @param aChild * The element to add. May be <code>null</code>. * @return this (the table row) * @deprecated Use {@link #addCellAt(int,IHCNode)} instead */ @Deprecated @Nonnull public HCRow addCell (@Nonnegative final int nIndex, @Nullable final IHCNode aChild) { return addCellAt (nIndex, aChild); }
/** * 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 this (the table row) * @deprecated Use {@link #addCellAt(int,String)} instead */ @Deprecated @Nonnull public HCRow addCell (@Nonnegative final int nIndex, @Nullable final String sCellText) { return addCellAt (nIndex, sCellText); }
/** * 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) * @deprecated Use {@link #addCellAt(int,String...)} instead */ @Deprecated @Nonnull public HCRow addCell (@Nonnegative final int nIndex, @Nullable final String... aCellChildren) { return addCellAt (nIndex, 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 this (the table row) * @deprecated Use {@link #addCellAt(int,IHCNode...)} instead */ @Deprecated @Nonnull public HCRow addCell (@Nonnegative final int nIndex, @Nullable final IHCNode... aCellChildren) { return addCellAt (nIndex, 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 this (the table row) * @deprecated Use {@link #addCellAt(int,Iterable)} instead */ @Deprecated @Nonnull public HCRow addCell (@Nonnegative final int nIndex, @Nullable final Iterable <? extends IHCNode> aCellChildren) { return addCellAt (nIndex, 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; }
/** * 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 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 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 this (the table row) */ @Nonnull public HCRow addCellAt (@Nonnegative final int nIndex, @Nullable final String sCellText) { addCellAt (nIndex).addChild (sCellText); return this; }
/** * Add a single new cell and add the passed element. * * @param nIndex * The index where the cell should be added * @param aChild * The element to add. May be <code>null</code>. * @return this (the table row) */ @Nonnull public HCRow addCellAt (@Nonnegative final int nIndex, @Nullable final IHCNode aChild) { addCellAt (nIndex).addChild (aChild); 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 IHCNode... aCellChildren) { addCellAt (nIndex).addChildren (aCellChildren); return this; }
/** * 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>. */ @Nonnull @CheckReturnValue public IHCCell <?> addAndReturnCellAt (@Nonnegative final int nIndex, @Nullable final IHCNode aCellChild) { return addCellAt (nIndex).addChild (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 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 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 */ @Nonnull @CheckReturnValue public IHCCell <?> addAndReturnCellAt (@Nonnegative final int nIndex, @Nullable final String sCellText) { return addCellAt (nIndex).addChild (sCellText); }
/** * 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); }