Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013

ag.ion.bion.officelayer.internal.text
Class TextTableRow

java.lang.Object
  extended by ag.ion.bion.officelayer.internal.text.TextTableRow
All Implemented Interfaces:
ICloneServiceProvider, ITextTableRow

public class TextTableRow
extends java.lang.Object
implements ITextTableRow

Row of a text table.


Constructor Summary
TextTableRow(TextTableCellRange textTableCellRange)
          Constructs new TextTableRow.
 
Method Summary
 boolean getAutoHeight()
          Returns if the row height is set to automatically be adjusted or not.
 ITextTableCellRange getCellRange()
          Returns the text table cell range.
 ITextTableCell[] getCells()
          Returns cells of the text table row.
 ICloneService getCloneService()
          Gets the clone service of the element.
 int getHeight()
          Returns the row height.
 ITextDocument getTextDocument()
          Returns text document.
 void setAutoHeight(boolean autoHeight)
          Sets if the row height is set to automatically be adjusted or not.
 void setHeight(int height)
          Sets the row height.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextTableRow

public TextTableRow(TextTableCellRange textTableCellRange)
             throws java.lang.IllegalArgumentException
Constructs new TextTableRow.

Parameters:
textTableCellRange - the range of the row
Throws:
java.lang.IllegalArgumentException - if the range is not valid
Method Detail

getTextDocument

public ITextDocument getTextDocument()
Returns text document.

Returns:
text document

getCells

public ITextTableCell[] getCells()
Returns cells of the text table row.

Specified by:
getCells in interface ITextTableRow
Returns:
cells of the text table row

getCloneService

public ICloneService getCloneService()
                              throws CloneException
Gets the clone service of the element.

Specified by:
getCloneService in interface ICloneServiceProvider
Returns:
the clone service
Throws:
CloneException - if the clone service could not be returned

getCellRange

public ITextTableCellRange getCellRange()
Returns the text table cell range.

Specified by:
getCellRange in interface ITextTableRow
Returns:
text table cell range

getHeight

public int getHeight()
Returns the row height.

Specified by:
getHeight in interface ITextTableRow
Returns:
the row height

setHeight

public void setHeight(int height)
Sets the row height.

Specified by:
setHeight in interface ITextTableRow
Parameters:
height - the row height to be set

getAutoHeight

public boolean getAutoHeight()
Returns if the row height is set to automatically be adjusted or not.

Specified by:
getAutoHeight in interface ITextTableRow
Returns:
if the row height is set to automatically be adjusted or not

setAutoHeight

public void setAutoHeight(boolean autoHeight)
Sets if the row height is set to automatically be adjusted or not.

Specified by:
setAutoHeight in interface ITextTableRow
Parameters:
autoHeight - if the row height is set to automatically be adjusted or not

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013