|
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 validMethod Detail |
---|
public void addRows(int count) throws TextException
addRows
in interface IETextTable
count
- number of rows to be added
TextException
- if the row(s) can not be addedpublic void addRows(int index, int count) throws TextException
addRows
in interface IETextTable
index
- index to be usedcount
- number of rows to be added
TextException
- if the row(s) can not be addedpublic void addRows(int index, int count, boolean after) throws TextException
addRows
in interface IETextTable
index
- 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 IETextTable
rowIndex
- row index of the cellcolumnIndex
- column index of the cell
TextException
- if the cell is not availablepublic IETextTableCell getCell(java.lang.String cellName) throws TextException
getCell
in interface IETextTable
name
- name of the cell
TextException
- if the cell is not availablepublic IETextTableCellRange getCellRange(int firstColumnIndex, int firstRowIndex, int lastColumnIndex, int lastRowIndex) throws TextException
getCellRange
in interface IETextTable
fistColumnIndex
- 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 availablepublic IETextTableCellRange getCellRange(java.lang.String rangeName) throws TextException
getCellRange
in interface IETextTable
cellRangeName
- name of the cell range
TextException
- if the cell range is not availablepublic IETextTableColumn getColumn(int columnIndex) throws TextException
getColumn
in interface IETextTable
columnIndex
- index of the column
TextException
- if any error occurspublic int getColumnCount()
getColumnCount
in interface IETextTable
public IETextTableColumn[] getColumns() throws TextException
getColumns
in interface IETextTable
TextException
- if any error occurspublic ITextTableProperties[] getProperties()
getProperties
in interface IETextTable
public void spreadColumnsEvenly() throws TextException
spreadColumnsEvenly
in interface IETextTable
TextException
- if necessary properties are not availablepublic void spreadColumnsEvenly(int startIndex, int endIndex) throws TextException
spreadColumnsEvenly
in interface IETextTable
startIndex
- index of the first column in rangeendIndex
- index of the last column in range
TextException
- if necessary properties are not availablepublic IETextTableRow[] getRows() throws TextException
getRows
in interface IETextTable
TextException
- if any error occurspublic IETextTableRow getRow(int index) throws TextException
getRow
in interface IETextTable
index
- 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 IETextTable
index
- index of the row
TextException
- if the row could not removedpublic void removeRows(int index, int count) throws TextException
removeRows
in interface IETextTable
index
- index of the first rowcount
- number of rows to remove
TextException
- if the rows could not removedpublic void removeRows(int index) throws TextException
removeRows
in interface IETextTable
index
- index of the first row
TextException
- if the rows could not removedpublic 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 removedpublic void remove() throws TextException
remove
in interface IETextTable
TextException
- if the table could not be removed.public ICloneService getCloneService() throws CloneException
getCloneService
in interface ICloneServiceProvider
CloneException
- if the clone service could not be returnedpublic 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 |