|
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.text.AbstractTextComponent
ag.ion.noa.internal.text.Annotation
public class Annotation
Annotation of a text document.
Field Summary |
---|
Fields inherited from class ag.ion.bion.officelayer.text.AbstractTextComponent |
---|
textDocument |
Constructor Summary | |
---|---|
Annotation(ITextDocument textDocument,
ITextField textField)
Constructs new Annotation. |
|
Annotation(ITextDocument textDocument,
com.sun.star.text.XDependentTextField xDependentTextField)
Constructs new Annotation. |
Method Summary | |
---|---|
java.lang.String |
getText()
Returns the text content of the annotation, or null if text content is not available. |
ITextRange |
getTextRange()
Returns text range of the annotation. |
com.sun.star.text.XTextContent |
getXTextContent()
Returns OpenOffice.org XTextContent interface. |
void |
jumpTo()
Jumps to the annotation. |
Methods inherited from class ag.ion.bion.officelayer.text.AbstractTextComponent |
---|
getTextDocument |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ag.ion.bion.officelayer.text.ITextComponent |
---|
getTextDocument |
Constructor Detail |
---|
public Annotation(ITextDocument textDocument, ITextField textField) throws java.lang.IllegalArgumentException
textDocument
- text document to be usedtextField
- the text field to be used
java.lang.IllegalArgumentException
- if one the OpenOffice.org interface is not validpublic Annotation(ITextDocument textDocument, com.sun.star.text.XDependentTextField xDependentTextField)
textDocument
- text document to be usedxDependentTextField
- OpenOffice.org XDependentTextField interfaceMethod Detail |
---|
public java.lang.String getText()
getText
in interface IAnnotation
public ITextRange getTextRange()
getTextRange
in interface IAnnotation
public void jumpTo()
jumpTo
in interface IAnnotation
public com.sun.star.text.XTextContent getXTextContent()
getXTextContent
in interface ITextContent
|
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 |