/** * 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>. */ @Nonnull public IHCCell <?> addCellAt (@Nonnegative final int nIndex) { final AbstractHCCell <?> ret = m_bHeader ? new HCTH () : new HCTD (); ret.internalSetParentRow (this); addChildAt (nIndex, ret); return ret; }
/** * Add an empty cell. * * @return The created cell. Never <code>null</code>. */ @Nonnull public IHCCell <?> addCell () { final AbstractHCCell <?> ret = m_bHeader ? new HCTH () : new HCTD (); ret.internalSetParentRow (this); addChild (ret); return ret; }
return new HCTFoot (); case TH: return new HCTH (); case THEAD: return new HCTHead ();