public class ComponentContext extends Object implements XComponentContext, XComponent
UNOTYPEINFO
UNOTYPEINFO
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 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