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
UNOTYPEINFO
Fields inherited from interface com.sun.star.uno.XComponentContext
UNOTYPEINFO
-
Constructor Summary
ConstructorDescriptionComponentContext
(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 TypeMethodDescriptionvoid
addEventListener
(XEventListener xListener) void
dispose()
getValueByName
(String rName) void
removeEventListener
(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:
getValueByName
in interfaceXComponentContext
-
getServiceManager
- Specified by:
getServiceManager
in interfaceXComponentContext
-
dispose
public void dispose()- Specified by:
dispose
in interfaceXComponent
-
addEventListener
- Specified by:
addEventListener
in interfaceXComponent
-
removeEventListener
- Specified by:
removeEventListener
in interfaceXComponent
-