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