|
Oxygen XML Editor 13.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface AuthorTableAccess
Provides methods for table actions and informations regarding the table content.
Method Summary | |
---|---|
AuthorElement |
getTableCellAbove(AuthorElement cellElement)
Find the cell included into the previous row and has the same column index as the specified cell AuthorElement . |
AuthorElement |
getTableCellAt(int row,
int column,
AuthorElement tableElement)
Obtain the cell AuthorElement for the given row and column in the
specified table. |
AuthorElement |
getTableCellBelow(AuthorElement cellElement)
Find the cell included into the next row and has the same column index as the specified cell AuthorElement . |
int[] |
getTableCellIndex(AuthorElement cellElement)
Obtain the table row and column index for the cell corresponding to the specified cell AuthorElement . |
int[] |
getTableColSpanIndices(AuthorElement cellElement)
For the given cell AuthorElement find the start and end column
defining the column span interval. |
int |
getTableNumberOfColumns(AuthorElement tableElement)
Returns the number of columns for the given table AuthorElement . |
AuthorElement |
getTableRow(int index,
AuthorElement tableElement)
Find the table row element for the given index. |
int |
getTableRowCount(AuthorElement tableElement)
Get the row count for the given table AuthorElement . |
int[] |
getTableRowSpanIndices(AuthorElement cellElement)
For the given cell AuthorElement find the start and end row
defining the row span interval. |
Method Detail |
---|
AuthorElement getTableCellAbove(AuthorElement cellElement)
AuthorElement
.
cellElement
- The table cell element.
null
if there is no cell above the given one
or the element does not correspond to a table cell..AuthorElement getTableCellBelow(AuthorElement cellElement)
AuthorElement
.
cellElement
- The table cell element.
null
if there is no cell bellow the given one
or the element does not correspond to a table cell..int[] getTableCellIndex(AuthorElement cellElement)
AuthorElement
.
cellElement
- The table cell element.
null
if the element does not correspond to a cell in a table.AuthorElement getTableCellAt(int row, int column, AuthorElement tableElement)
AuthorElement
for the given row and column in the
specified table.
row
- The row, 0 based.column
- The column, 0 based.tableElement
- The table element.
null
if the table does not have a cell at the provided indices.AuthorElement getTableRow(int index, AuthorElement tableElement)
index
- The index of the row to find the element for, 0 based.tableElement
- The table element.
null
if the table does not have a row at the given index.int getTableRowCount(AuthorElement tableElement)
AuthorElement
.
tableElement
- The table element.
int getTableNumberOfColumns(AuthorElement tableElement)
AuthorElement
.
tableElement
- The table element.
int[] getTableColSpanIndices(AuthorElement cellElement)
AuthorElement
find the start and end column
defining the column span interval.
The indices are 0 based.
cellElement
- The table cell element.
null
if the element does not correspond to a cell in a table.int[] getTableRowSpanIndices(AuthorElement cellElement)
AuthorElement
find the start and end row
defining the row span interval.
The indices are 0 based.
cellElement
- The table cell element.
null
if the element does not correspond to a cell in a table.Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
|
Oxygen XML Editor 13.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |