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 LineCursor

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

public class LineCursor
extends java.lang.Object
implements ILineCursor

Line cursor of a text document.


Constructor Summary
LineCursor(com.sun.star.view.XLineCursor xLineCursor)
          Constructs new LineCursor.
 
Method Summary
 void gotoEndOfLine(boolean mark)
          Moves the cursor to the end of the current line.
 void gotoStartOfLine(boolean mark)
          Moves the cursor to the start of the current line.
 boolean isAtEndOfLine()
          Determines if the cursor is positioned at the end of a line.
 boolean isAtStartOfLine()
          Determines if the cursor is positioned at the start of a line.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineCursor

public LineCursor(com.sun.star.view.XLineCursor xLineCursor)
           throws java.lang.IllegalArgumentException
Constructs new LineCursor.

Parameters:
xLineCursor - OpenOffice.org XLineCursor interface to be used
Throws:
java.lang.IllegalArgumentException - if the submitted OpenOffice.org XLineCursor interface is not valid
Method Detail

isAtStartOfLine

public boolean isAtStartOfLine()
Determines if the cursor is positioned at the start of a line.

Specified by:
isAtStartOfLine in interface ILineCursor

isAtEndOfLine

public boolean isAtEndOfLine()
Determines if the cursor is positioned at the end of a line.

Specified by:
isAtEndOfLine in interface ILineCursor

gotoStartOfLine

public void gotoStartOfLine(boolean mark)
Moves the cursor to the start of the current line.

Specified by:
gotoStartOfLine in interface ILineCursor
Parameters:
mark - indicates if the space between the current position and the end is to be marked

gotoEndOfLine

public void gotoEndOfLine(boolean mark)
Moves the cursor to the end of the current line.

Specified by:
gotoEndOfLine in interface ILineCursor
Parameters:
mark - indicates if the space between the current position and the end is to be marked

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