Method Summary |
|
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 Element[] | getElementRows() Returns the row element list as an array. |
public Element | getFirstRowElement() Returns the first row element (row at position 0). |
public Element | getLastRowElement() Returns the last row element (row at position length - 1). |
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 to search. |
public Element | getRowElementFromNode(Node node) Returns the row element of the table containing the specified node. |
public ListElementInfo | getRowListElementInfoAt(int index) Returns an object info of the row element at the specified position.
Parameters: index - index of the row. |
public ListElementInfo | getRowListElementInfoFromNode(Node node) Returns an object info of the row element containing the specified node (or the node
is itself a row element).
Parameters: node - the node to search for. |
public TableCellElementInfo | getTableCellElementInfoAt(int row, int column) Returns an object info of the cell element specified by the row and column indexes.
Parameters: row - row index of the cell element. Parameters: column - column index of the cell element. |
public TableCellElementInfo | getTableCellElementInfoFromNode(Node node) Returns an object info of the cell element containing the specified node (or the node
is itself a cell element of the table).
Parameters: node - the node to search for. |
public int | indexOfRowElement(Element elem) Returns the position of the specified row element.
Parameters: elem - the element to search. |
public int | lastIndexOfRowElement(Element elem) Returns the position of the specified row element searching backwards.
The result must be the same as
ElementTableBase.indexOfRowElement(Element) because
there is no "duplicated" elements. |
public void | moveColumn(int columnIndex, int newIndex) Moves the column at columnIndex to
newIndex . |
public void | moveRow(int start, int end, int to) Moves one or more row elements from the inclusive range start to
end to the to position in the table. |
public void | removeAllColumns() Removes all columns. |
public void | removeAllRows() Removes all row elements. |
public void | removeColumnAt(int column) Removes the specified column.
Parameters: column - index of the column to remove. |
public Element | removeRowAt(int row) Removes the specified row element.
Parameters: row - index of the row element to remove. |
public void | removeRowRange(int fromIndex, int toIndex) Removes the row elements between the specified indexes. |