}
public Element[] getContentElementList()
{
// Toda la tabla incluido el header
ItsNatTableUI compUI = getItsNatTableUI();
int rowCount = compUI.getRowCount();
int colCount = compUI.getColumnCount();
int headColCount = 0;
ItsNatTableHeaderImpl header = getItsNatTableHeaderImpl();
if (header != null) headColCount = colCount;
Element[] elemList = new Element[rowCount * colCount + headColCount];
for(int i = 0; i < rowCount; i++)
{
int firstCellInRow = i*colCount;
for(int j = 0; j < colCount; j++)
elemList[firstCellInRow + j] = compUI.getCellContentElementAt(i,j);
}
if (header != null)
elemList = header.getContentElementList(elemList, headColCount);