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 TextTableService

java.lang.Object
  extended by ag.ion.bion.officelayer.internal.text.TextTableService
All Implemented Interfaces:
ITextTableService

public class TextTableService
extends java.lang.Object
implements ITextTableService

Service for text tables.


Constructor Summary
TextTableService(ITextDocument textDocument)
          Constructs new TextTableService.
 
Method Summary
 ITextTable constructTextTable(int rows, int columns)
          Constructs new text table.
 ITextTable getTextTable(java.lang.String name)
          Returns table with the submitted name.
 ITextTable[] getTextTables()
          Returns all available text tables.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextTableService

public TextTableService(ITextDocument textDocument)
                 throws java.lang.IllegalArgumentException
Constructs new TextTableService.

Parameters:
textDocument - text document to be used
Throws:
java.lang.IllegalArgumentException - if the submitted text document is not valid
Method Detail

constructTextTable

public ITextTable constructTextTable(int rows,
                                     int columns)
                              throws TextException
Constructs new text table.

Specified by:
constructTextTable in interface ITextTableService
Parameters:
rows - rows to be added
columns - columns to be added
Returns:
new table
Throws:
TextException - if the new text table can not be constructed

getTextTables

public ITextTable[] getTextTables()
Returns all available text tables.

Specified by:
getTextTables in interface ITextTableService
Returns:
all available text tables

getTextTable

public ITextTable getTextTable(java.lang.String name)
                        throws TextException
Returns table with the submitted name.

Specified by:
getTextTable in interface ITextTableService
Parameters:
name - name of the table
Returns:
table with the submitted name
Throws:
TextException - if the table does not exist

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