Package com.sun.star.comp.helper
Class ComponentContext
java.lang.Object
com.sun.star.comp.helper.ComponentContext
- All Implemented Interfaces:
XComponent,XComponentContext,XInterface
Component context implementation.
-
Field Summary
Fields inherited from interface com.sun.star.lang.XComponent
UNOTYPEINFOFields inherited from interface com.sun.star.uno.XComponentContext
UNOTYPEINFO -
Constructor Summary
ConstructorsConstructorDescriptionComponentContext(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. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEventListener(XEventListener xListener) voiddispose()getValueByName(String rName) voidremoveEventListener(XEventListener xListener)
-
Constructor Details
-
ComponentContext
-
ComponentContext
Ctor to create a component context passing a hashtable for values and a delegator reference. Entries of the passed hashtable are either direct values or ComponentContextEntry objects.- Parameters:
table- entriesxDelegate- if values are not found, request is delegated to this object
-
-
Method Details
-
getValueByName
- Specified by:
getValueByNamein interfaceXComponentContext
-
getServiceManager
- Specified by:
getServiceManagerin interfaceXComponentContext
-
dispose
public void dispose()- Specified by:
disposein interfaceXComponent
-
addEventListener
- Specified by:
addEventListenerin interfaceXComponent
-
removeEventListener
- Specified by:
removeEventListenerin interfaceXComponent
-