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.text
Interface IViewCursor

All Known Implementing Classes:
ViewCursor

public interface IViewCursor

Visible cursor of a text document.


Method Summary
 IPageCursor getPageCursor()
          Returns the page cursor for the view cursor, can be null if no page cursor is available.
 ITextRange getStartTextRange()
          Returns start text range of the cursor.
 ITextCursor getTextCursorFromEnd()
          Returns new text cursor from the end position of the view cursor.
 ITextCursor getTextCursorFromStart()
          Returns new text cursor from the start position of the view cursor.
 void goToRange(ITextRange textRange, boolean select)
          Moves to the given text range.
 

Method Detail

getStartTextRange

ITextRange getStartTextRange()
Returns start text range of the cursor.

Returns:
start text range of the cursor

getTextCursorFromStart

ITextCursor getTextCursorFromStart()
Returns new text cursor from the start position of the view cursor.

Returns:
new text cursor from the start position of the view cursor

getTextCursorFromEnd

ITextCursor getTextCursorFromEnd()
Returns new text cursor from the end position of the view cursor.

Returns:
new text cursor from the end position of the view cursor

goToRange

void goToRange(ITextRange textRange,
               boolean select)
Moves to the given text range.

Parameters:
textRange - the text range to go to
select - if to extend the selection

getPageCursor

IPageCursor getPageCursor()
Returns the page cursor for the view cursor, can be null if no page cursor is available.

Returns:
the page cursor for the view cursor, can be null

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