|
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.application.connection.LocalOfficeConnectionGhost
public class LocalOfficeConnectionGhost
Office connection implementation. This class bases on the implementation of the OpenOffice.org API Bean package.
Field Summary |
---|
Fields inherited from interface com.sun.star.lang.XComponent |
---|
UNOTYPEINFO |
Constructor Summary | |
---|---|
LocalOfficeConnectionGhost(IOfficeProgressMonitor officeProgressMonitor)
Constructs new LocalOfficeConnectionGhost. |
Method Summary | |
---|---|
void |
addEventListener(com.sun.star.lang.XEventListener eventListener)
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. |
com.sun.star.uno.XComponentContext |
getCurrentComponentContext()
Retrives the UNO component context. |
void |
removeEventListener(com.sun.star.lang.XEventListener eventListener)
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 |
Constructor Detail |
---|
public LocalOfficeConnectionGhost(IOfficeProgressMonitor officeProgressMonitor)
OFFICE_PROP_FILE
in the user home directory.
officeProgressMonitor
- office progress monitor to be used (can be null)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.OfficeConnection
url
- this is UNO URL which discribes the type of a connection
java.net.MalformedURLException
- if the URL is not validpublic void setContainerFactory(com.sun.star.comp.beans.ContainerFactory containerFactory)
setContainerFactory
in interface com.sun.star.comp.beans.OfficeConnection
containerFactory
- this is a application provided AWT container factorypublic com.sun.star.uno.XComponentContext getComponentContext()
null
if it fails to connect to the office application.
getComponentContext
in interface com.sun.star.comp.beans.OfficeConnection
public com.sun.star.uno.XComponentContext getCurrentComponentContext()
public com.sun.star.comp.beans.OfficeWindow createOfficeWindow(java.awt.Container container)
createOfficeWindow
in interface com.sun.star.comp.beans.OfficeConnection
container
- this is an AWT container
public void dispose()
dispose
in interface com.sun.star.lang.XComponent
public void addEventListener(com.sun.star.lang.XEventListener eventListener)
addEventListener
in interface com.sun.star.lang.XComponent
eventListener
- is a listener objectpublic void removeEventListener(com.sun.star.lang.XEventListener eventListener)
removeEventListener
in interface com.sun.star.lang.XComponent
eventListener
- is a listener object
|
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 |