Method Summary |
|
public Element | getBodyElement() Returns the element used as parent of the table body. |
public Element | getCellContentElementAt(int row, int column) Returns the content element of the cell. |
public Element | getCellElementAt(int row, int column) Returns the cell element at the specified row and column.
Parameters: row - the row index of the cell element to search. Parameters: column - the column index of the cell element to search. |
public Element[] | getCellElementsOfColumn(int column) Returns the cell elements of the specified column as an array.
Parameters: column - the column index. |
public Element[] | getCellElementsOfRow(int row) Returns the cell elements of the specified row as an array.
Parameters: row - the row index. |
public int | getColumnCount() Returns the number of columns. |
public ItsNatTable | getItsNatTable() Returns the associated component object. |
public ItsNatTableCellUI | getItsNatTableCellUIAt(int row, int column) Returns an object info of the cell element at the specified row and column.
Parameters: row - row index of the cell element. Parameters: column - column index of the cell element. |
public ItsNatTableCellUI | getItsNatTableCellUIFromNode(Node node) Returns an object info of the cell element containing the specified node (or the node
is itself an element of the table body).
Parameters: node - the node to search for. |
public ItsNatTableHeaderUI | getItsNatTableHeaderUI() Returns the header user interface manager of this component.
the header user interface manager. |
public Element | getRowContentElementAt(int row) Returns the content row element. |
public int | getRowCount() Returns the number of rows. |
public Element | getRowElementAt(int row) Returns the row element at the specified index.
Parameters: row - index of the row element to search. |
public void | insertColumnAt(int column, Object[] values) Inserts a new column at the specified position,
and renders the specified values. |
public void | insertRowAt(int row, Object[] values) Inserts a new row element at the specified position rendering
the specified cell values. |
public boolean | isUsePatternMarkupToRender() Informs whether the original (saved as pattern) markup is used to render. |
public void | removeAllColumns() Removes all columns. |
public void | removeAllRows() Removes all row elements. |
public void | removeColumnAt(int column) Removes the specified column. |
public void | removeRowAt(int row) Removes the specified row element. |
public void | setCellValueAt(int row, int column, Object value, boolean isSelected, boolean hasFocus) Renders the specified value into the cell element with the given row and column position.
Parameters: row - row of the cell. |
public void | setColumnCount(int columns) Increases or shrinks the number of columns to fit the new size. |
public void | setColumnValuesAt(int column, Object[] values, boolean[] isSelected, boolean[] hasFocus) Renders the specified values into the column with the given position. |
public void | setRowCount(int rows) Increases or shrinks the number of rows to fit the new size. |
public void | setRowValuesAt(int row, Object[] values, boolean[] isSelected, boolean[] hasFocus) Renders the specified values into the row element with the given position.
Parameters: row - index of the row element. Parameters: values - the row values to render. Parameters: isSelected - array with the current selection state of the row cells. Parameters: hasFocus - array with the current focus state of the row cells. |
public void | setUsePatternMarkupToRender(boolean value) Sets whether the original (saved as pattern) markup is used to render. |