|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc für Elexis version 2.1.7.dev vom 01.09.2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.star.comp.beans.LocalOfficeConnection
public class LocalOfficeConnection
This class reprecents a connection to the local office application.
| Field Summary | |
|---|---|
static java.lang.String |
OFFICE_APP_NAME
|
static java.lang.String |
OFFICE_ID_SUFFIX
|
static java.lang.String |
OFFICE_LIB_NAME
|
| Fields inherited from interface com.sun.star.lang.XComponent |
|---|
UNOTYPEINFO |
| Constructor Summary | |
|---|---|
LocalOfficeConnection()
Constructor. |
|
| Method Summary | |
|---|---|
void |
addEventListener(com.sun.star.lang.XEventListener listener)
Adds an event listener to the object. |
com.sun.star.comp.beans.OfficeWindow |
createOfficeWindow(java.awt.Container container)
Creates an office window. |
void |
dispose()
Closes the connection. |
com.sun.star.uno.XComponentContext |
getComponentContext()
Retrives the UNO component context. |
void |
removeEventListener(com.sun.star.lang.XEventListener listener)
Removes an event listener from the listener list. |
void |
setContainerFactory(com.sun.star.comp.beans.ContainerFactory containerFactory)
Sets an AWT container catory. |
void |
setUnoUrl(java.lang.String url)
Sets a connection URL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String OFFICE_APP_NAME
public static final java.lang.String OFFICE_LIB_NAME
public static final java.lang.String OFFICE_ID_SUFFIX
| Constructor Detail |
|---|
public LocalOfficeConnection()
OFFICE_PROP_FILE in the user home directory.
| Method Detail |
|---|
public void setUnoUrl(java.lang.String url)
throws java.net.MalformedURLException
url := uno:localoffice[,<params>];urp;StarOffice.ServiceManager params := <path>[,<pipe>] path := path=<pathv> pipe := pipe=<pipev> pathv := platform_specific_path_to_the_local_office_distribution pipev := local_office_connection_pipe_name
setUnoUrl in interface com.sun.star.comp.beans.OfficeConnectionurl - This is UNO URL which discribes the type of a connection.
java.net.MalformedURLExceptionpublic void setContainerFactory(com.sun.star.comp.beans.ContainerFactory containerFactory)
setContainerFactory in interface com.sun.star.comp.beans.OfficeConnectioncontainerFactory - This is a application provided AWT container factory.public com.sun.star.uno.XComponentContext getComponentContext()
null if it fails to connect to the office application.
getComponentContext in interface com.sun.star.comp.beans.OfficeConnectionpublic com.sun.star.comp.beans.OfficeWindow createOfficeWindow(java.awt.Container container)
createOfficeWindow in interface com.sun.star.comp.beans.OfficeConnectioncontainer - This is an AWT container.
public void dispose()
dispose in interface com.sun.star.lang.XComponentpublic void addEventListener(com.sun.star.lang.XEventListener listener)
addEventListener in interface com.sun.star.lang.XComponentlistener - is a listener object.public void removeEventListener(com.sun.star.lang.XEventListener listener)
removeEventListener in interface com.sun.star.lang.XComponentlistener - is a listener object.
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc für Elexis version 2.1.7.dev vom 01.09.2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||