public class ComponentContext extends Object implements XComponentContext, XComponent
UNOTYPEINFOUNOTYPEINFO| Constructor and Description |
|---|
ComponentContext(Hashtable<String,Object> table,
XComponentContext xDelegate) |
ComponentContext(Map<String,Object> table,
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(XEventListener xListener) |
void |
dispose() |
XMultiComponentFactory |
getServiceManager() |
Object |
getValueByName(String rName) |
void |
removeEventListener(XEventListener xListener) |
public ComponentContext(Hashtable<String,Object> table, XComponentContext xDelegate)
public ComponentContext(Map<String,Object> table, XComponentContext xDelegate)
table - entriesxDelegate - if values are not found, request is delegated to this objectpublic Object getValueByName(String rName)
getValueByName in interface XComponentContextpublic XMultiComponentFactory getServiceManager()
getServiceManager in interface XComponentContextpublic void dispose()
dispose in interface XComponentpublic void addEventListener(XEventListener xListener)
addEventListener in interface XComponentpublic void removeEventListener(XEventListener xListener)
removeEventListener in interface XComponent