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

ag.ion.noa.text
Class TextRangeSelection

java.lang.Object
  extended by ag.ion.noa.text.TextRangeSelection
All Implemented Interfaces:
ITextRangeSelection, IXInterfaceObjectSelection, ISelection

public class TextRangeSelection
extends java.lang.Object
implements ITextRangeSelection, IXInterfaceObjectSelection, ISelection

Selection of a text range.


Constructor Summary
TextRangeSelection(ITextRange textRange)
          Constructs new TextRangeSelection.
 
Method Summary
 ITextRange getTextRange()
          Returns text range of the selection.
 com.sun.star.uno.XInterface getXInterfaceObject()
          Returns object implementing XInterface of the selection.
 boolean isEmpty()
          Returns information whether the selection is empty.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextRangeSelection

public TextRangeSelection(ITextRange textRange)
Constructs new TextRangeSelection.

Parameters:
textRange - text range selection to be used
Method Detail

getTextRange

public ITextRange getTextRange()
Returns text range of the selection.

Specified by:
getTextRange in interface ITextRangeSelection
Returns:
text range of the selection

getXInterfaceObject

public com.sun.star.uno.XInterface getXInterfaceObject()
Returns object implementing XInterface of the selection.

Specified by:
getXInterfaceObject in interface IXInterfaceObjectSelection
Returns:
object implementing XInterface of the selection

isEmpty

public boolean isEmpty()
Returns information whether the selection is empty.

Specified by:
isEmpty in interface ISelection
Returns:
information whether the selection is empty

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