public class ComponentContext extends Object implements com.sun.star.uno.XComponentContext, com.sun.star.lang.XComponent
| Constructor and Description |
|---|
ComponentContext(Hashtable<String,Object> table,
com.sun.star.uno.XComponentContext xDelegate) |
ComponentContext(Map<String,Object> table,
com.sun.star.uno.XComponentContext xDelegate)
Ctor to create a component context passing a hashtable for values and a delegator
reference.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEventListener(com.sun.star.lang.XEventListener xListener) |
void |
dispose() |
com.sun.star.lang.XMultiComponentFactory |
getServiceManager() |
Object |
getValueByName(String rName) |
void |
removeEventListener(com.sun.star.lang.XEventListener xListener) |
public ComponentContext(Hashtable<String,Object> table, com.sun.star.uno.XComponentContext xDelegate)
public ComponentContext(Map<String,Object> table, com.sun.star.uno.XComponentContext xDelegate)
table - entriesxDelegate - if values are not found, request is delegated to this objectpublic Object getValueByName(String rName)
getValueByName in interface com.sun.star.uno.XComponentContextpublic com.sun.star.lang.XMultiComponentFactory getServiceManager()
getServiceManager in interface com.sun.star.uno.XComponentContextpublic void dispose()
dispose in interface com.sun.star.lang.XComponentpublic void addEventListener(com.sun.star.lang.XEventListener xListener)
addEventListener in interface com.sun.star.lang.XComponentpublic void removeEventListener(com.sun.star.lang.XEventListener xListener)
removeEventListener in interface com.sun.star.lang.XComponent