|
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.TextTableCellRange
public class TextTableCellRange
Cell range of a text table.
Constructor Summary | |
---|---|
TextTableCellRange(ITextDocument textDocument,
com.sun.star.table.XCellRange xCellRange,
ITextTableCellRangeName textTableCellRangeName)
Constructs new TextTableCellRange. |
Method Summary | |
---|---|
ITextTableCell |
getCell(int columnIndex,
int rowIndex)
Returns cell with the submitted column and row index. |
ITextTableCell |
getCell(java.lang.String name)
Returns cell with the submitted name. |
ITextTableCellProperties |
getCellProperties()
Returns text table cell properties. |
ITextTableCell[][] |
getCells()
Returns all cells. |
ICloneService |
getCloneService()
Gets the clone service of the element. |
int |
getColumnCount()
Returns the number of columns in the range. |
java.lang.Object[][] |
getData()
Returns data of the cell range. |
ITextTableCellRangeName |
getRangeName()
Returns the name of the range. |
int |
getRowCount()
Returns the number of rows in the range. |
ITextDocument |
getTextDocument()
Returns text document. |
com.sun.star.table.XCellRange |
getXCellRange()
Returns the OpenOffice.org XCellRange interface. |
void |
setData(java.lang.Object[][] values)
Sets data to the cell range. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextTableCellRange(ITextDocument textDocument, com.sun.star.table.XCellRange xCellRange, ITextTableCellRangeName textTableCellRangeName) throws java.lang.IllegalArgumentException
textDocument
- text document to be usedxCellRange
- OpenOffice.org XCellRange interfacetextTableCellRangeName
- the test table cell range name
java.lang.IllegalArgumentException
- if the submitted text document, OpenOffice.org XCellRange interface or
text table range name is not validMethod Detail |
---|
public com.sun.star.table.XCellRange getXCellRange()
getXCellRange
in interface ITextTableCellRange
public ITextDocument getTextDocument()
getTextDocument
in interface ITextTableCellRange
public void setData(java.lang.Object[][] values) throws TextException
setData
in interface ITextTableCellRange
values
- values to be used
TextException
- if the submitted array is not suitablypublic java.lang.Object[][] getData()
getData
in interface ITextTableCellRange
public ITextTableCellProperties getCellProperties()
getCellProperties
in interface ITextTableCellRange
public int getRowCount()
getRowCount
in interface ITextTableCellRange
public int getColumnCount()
getColumnCount
in interface ITextTableCellRange
public ITextTableCell getCell(java.lang.String name) throws TextException
getCell
in interface ITextTableCellRange
name
- name of the cell
TextException
- if the cell is not availablepublic ITextTableCell getCell(int columnIndex, int rowIndex) throws TextException
getCell
in interface ITextTableCellRange
columnIndex
- column index of the cellrowIndex
- row index of the cell
TextException
- if the cell is not availablepublic ITextTableCellRangeName getRangeName()
getRangeName
in interface ITextTableCellRange
public ITextTableCell[][] getCells()
getCells
in interface ITextTableCellRange
public ICloneService getCloneService() throws CloneException
getCloneService
in interface ICloneServiceProvider
CloneException
- if the clone service could not be returned
|
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 |