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 TextTableColumn

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

public class TextTableColumn
extends java.lang.Object
implements ITextTableColumn

Column of a text table.


Constructor Summary
TextTableColumn(ITextTable textTable, int index)
          Constructs new TextTableRow.
 
Method Summary
 ITextTableCellRange getCellRange()
          Returns the text table cell range.
 ICloneService getCloneService()
          Gets the clone service of the element.
 short getWidth()
          Returns column width.
 void setWidth(short width)
          Sets column width.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextTableColumn

public TextTableColumn(ITextTable textTable,
                       int index)
                throws java.lang.IllegalArgumentException,
                       TextException
Constructs new TextTableRow.

Parameters:
textTable - table of the text document
index - index of a column
Throws:
java.lang.IllegalArgumentException - if one the OpenOffice.org interfaces is not valid
TextException
Method Detail

setWidth

public void setWidth(short width)
              throws TextException
Sets column width.

Specified by:
setWidth in interface ITextTableColumn
Parameters:
width - desired width of the column
Throws:
TextException - if necessary properties are not available

getWidth

public short getWidth()
               throws TextException
Returns column width.

Specified by:
getWidth in interface ITextTableColumn
Returns:
column width
Throws:
TextException - if necessary properties are not available

getCellRange

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

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

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

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