|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectag.ion.bion.officelayer.internal.text.ViewCursor
public class ViewCursor
Visible cursor implementation of a text document.
| Constructor Summary | |
|---|---|
ViewCursor(ITextDocument textDocument,
com.sun.star.text.XTextViewCursor xTextViewCursor)
Constructs new ViewCursor. |
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ViewCursor(ITextDocument textDocument,
com.sun.star.text.XTextViewCursor xTextViewCursor)
throws java.lang.IllegalArgumentException
textDocument - text document to be usedxTextViewCursor - OpenOffice.org XTextViewCursor interface to be used
java.lang.IllegalArgumentException - if the submitted text document or OpenOffice.org XTextViewCursor
interface is not valid| Method Detail |
|---|
public ITextRange getStartTextRange()
getStartTextRange in interface IViewCursorpublic ITextCursor getTextCursorFromStart()
getTextCursorFromStart in interface IViewCursorpublic ITextCursor getTextCursorFromEnd()
getTextCursorFromEnd in interface IViewCursor
public void goToRange(ITextRange textRange,
boolean select)
goToRange in interface IViewCursortextRange - the text range to go toselect - if to extend the selectionpublic IPageCursor getPageCursor()
getPageCursor in interface IViewCursor
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||