|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectag.ion.bion.officelayer.internal.text.table.extended.ETextTable
public class ETextTable
Implementation for extended tables.
| Constructor Summary | |
|---|---|
ETextTable(ITextDocument textDocument,
ITextTable textTable)
Constructs new extended text table. |
|
| Method Summary | |
|---|---|
void |
addRows(int count)
Adds row(s) to the table. |
void |
addRows(int index,
int count)
Adds row(s) at submitted index to the table. |
void |
addRows(int index,
int count,
boolean after)
Adds row(s) before or after submitted index to the table. |
void |
addTable(ITextTable textTable)
Addes a new text table. |
IETextTableCell |
getCell(int rowIndex,
int columnIndex)
Returns cell with the submitted column and row index. |
IETextTableCell |
getCell(java.lang.String cellName)
Returns cell with the submitted name. |
IETextTableCellRange |
getCellRange(int firstColumnIndex,
int firstRowIndex,
int lastColumnIndex,
int lastRowIndex)
Returns cell range on the basis submitted index informations. |
IETextTableCellRange |
getCellRange(java.lang.String rangeName)
Returns cell range on the basis of the submitted cell range name. |
ICloneService |
getCloneService()
Gets the clone service of the element. |
IETextTableColumn |
getColumn(int columnIndex)
Returns a column at submitted index the table. |
int |
getColumnCount()
Returns number of available columns. |
IETextTableColumn[] |
getColumns()
Returns all columns of a table. |
ITextTableProperties[] |
getProperties()
Returns properties of the text table. |
IETextTableRow |
getRow(int index)
Returns text table row. |
int |
getRowCount()
Returns number of available rows. |
IETextTableRow[] |
getRows()
Returns text table rows. |
ITextTable |
getTextTable(int index)
Returns a specified text table. |
int |
getTextTableIndex(ITextTable textTable)
Returns a specified text table. |
ETextTableManagement |
getTextTableManagement()
Returns the text table management. |
void |
remove()
Removes the table. |
void |
removeRow(int index)
Removes a specified row. |
void |
removeRows(int index)
Removes rows. |
void |
removeRows(int index,
int count)
Removes rows. |
void |
removeTables(int index,
int count)
Removes tables. |
void |
spreadColumnsEvenly()
Spread all columns evenly. |
void |
spreadColumnsEvenly(int startIndex,
int endIndex)
Spread columns in range evenly. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ETextTable(ITextDocument textDocument,
ITextTable textTable)
throws java.lang.IllegalArgumentException
textDocument - the text documenttextTable - the first text table
java.lang.IllegalArgumentException - if one of the parameter is not valid| Method Detail |
|---|
public void addRows(int count)
throws TextException
addRows in interface IETextTablecount - number of rows to be added
TextException - if the row(s) can not be added
public void addRows(int index,
int count)
throws TextException
addRows in interface IETextTableindex - index to be usedcount - number of rows to be added
TextException - if the row(s) can not be added
public void addRows(int index,
int count,
boolean after)
throws TextException
addRows in interface IETextTableindex - index to be usedcount - number of rows to be addedafter - true, if the rows shoud be addes after submitted index
TextException - if the row(s) can not be addedpublic int getRowCount()
getRowCount in interface IETextTable
public IETextTableCell getCell(int rowIndex,
int columnIndex)
throws TextException
getCell in interface IETextTablerowIndex - row index of the cellcolumnIndex - column index of the cell
TextException - if the cell is not available
public IETextTableCell getCell(java.lang.String cellName)
throws TextException
getCell in interface IETextTablename - name of the cell
TextException - if the cell is not available
public IETextTableCellRange getCellRange(int firstColumnIndex,
int firstRowIndex,
int lastColumnIndex,
int lastRowIndex)
throws TextException
getCellRange in interface IETextTablefistColumnIndex - index of first column inside the rangefirstRowIndex - index of first row inside the rangelastColumnIndex - index of last column inside the rangelastRowIndex - index of last row inside the range
TextException - if the cell range is not available
public IETextTableCellRange getCellRange(java.lang.String rangeName)
throws TextException
getCellRange in interface IETextTablecellRangeName - name of the cell range
TextException - if the cell range is not available
public IETextTableColumn getColumn(int columnIndex)
throws TextException
getColumn in interface IETextTablecolumnIndex - index of the column
TextException - if any error occurspublic int getColumnCount()
getColumnCount in interface IETextTable
public IETextTableColumn[] getColumns()
throws TextException
getColumns in interface IETextTableTextException - if any error occurspublic ITextTableProperties[] getProperties()
getProperties in interface IETextTable
public void spreadColumnsEvenly()
throws TextException
spreadColumnsEvenly in interface IETextTableTextException - if necessary properties are not available
public void spreadColumnsEvenly(int startIndex,
int endIndex)
throws TextException
spreadColumnsEvenly in interface IETextTablestartIndex - index of the first column in rangeendIndex - index of the last column in range
TextException - if necessary properties are not available
public IETextTableRow[] getRows()
throws TextException
getRows in interface IETextTableTextException - if any error occurs
public IETextTableRow getRow(int index)
throws TextException
getRow in interface IETextTableindex - the row index
TextException - if any error occurspublic int getTextTableIndex(ITextTable textTable)
textTable - text table
public ITextTable getTextTable(int index)
index - the index of the text table
public ETextTableManagement getTextTableManagement()
public void removeRow(int index)
throws TextException
removeRow in interface IETextTableindex - index of the row
TextException - if the row could not removed
public void removeRows(int index,
int count)
throws TextException
removeRows in interface IETextTableindex - index of the first rowcount - number of rows to remove
TextException - if the rows could not removed
public void removeRows(int index)
throws TextException
removeRows in interface IETextTableindex - index of the first row
TextException - if the rows could not removed
public void removeTables(int index,
int count)
throws TextException
index - index of the first rowcount - number of the tables to remove
TextException - if the rows could not removed
public void remove()
throws TextException
remove in interface IETextTableTextException - if the table could not be removed.
public ICloneService getCloneService()
throws CloneException
getCloneService in interface ICloneServiceProviderCloneException - if the clone service could not be returned
public void addTable(ITextTable textTable)
throws TextException
textTable - new text table
TextException
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||