|
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.form.FormComponent
public class FormComponent
The implementation of a form component in a document.
| Constructor Summary | |
|---|---|
FormComponent(IDocument document,
com.sun.star.drawing.XControlShape xControlShape,
com.sun.star.form.XFormComponent xFormComponent)
Constructs new FormComponent. |
|
| Method Summary | |
|---|---|
void |
focus()
Sets the focus to this from component. |
ITextRange |
getStartTextRange()
Returns the text range of the anchor where the form component starts, or null if not available. |
com.sun.star.awt.XControl |
getXControl()
Returns the OpenOffice.org XControl interface, can be null. |
com.sun.star.drawing.XControlShape |
getXControlShape()
Returns the OpenOffice.org XControlShape interface, can be null. |
com.sun.star.form.XFormComponent |
getXFormComponent()
Returns the OpenOffice.org XFormComponent interface. |
com.sun.star.beans.XPropertySet |
getXPropertySet()
Returns the property set of this form component, or null if not available. |
com.sun.star.awt.XTextComponent |
getXTextComponent()
Returns the OpenOffice.org XTextComponent interface, or null if not available. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FormComponent(IDocument document,
com.sun.star.drawing.XControlShape xControlShape,
com.sun.star.form.XFormComponent xFormComponent)
throws java.lang.IllegalArgumentException
document - the document of the form componentxControlShape - the OpenOffice.org XControlShape interface to be usedxFormComponent - the OpenOffice.org XFormComponent interface to be used
java.lang.IllegalArgumentException - if the submitted document or the OpenOffice.org
XFormComponent or XControlShape interface is not valid| Method Detail |
|---|
public com.sun.star.beans.XPropertySet getXPropertySet()
throws NOAException
getXPropertySet in interface IFormComponentNOAException - if the return failspublic com.sun.star.form.XFormComponent getXFormComponent()
getXFormComponent in interface IFormComponentpublic com.sun.star.drawing.XControlShape getXControlShape()
getXControlShape in interface IFormComponent
public com.sun.star.awt.XControl getXControl()
throws NOAException
getXControl in interface IFormComponentNOAException - if the return fails
public com.sun.star.awt.XTextComponent getXTextComponent()
throws NOAException
getXTextComponent in interface IFormComponentNOAException - if the return fails
public void focus()
throws NOAException
focus in interface IFormComponentNOAException - if the focus fails
public ITextRange getStartTextRange()
throws NOAException
getStartTextRange in interface IFormComponentNOAException - if the return of text range fails
|
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 | ||||||||