com.sun.star.comp.helper
Class ComponentContext
com.sun.star.comp.helper.ComponentContext
- public class ComponentContext
Component context implementation.
|
Constructor Summary |
ComponentContext(java.util.Hashtable table,
com.sun.star.uno.XComponentContext xDelegate)
Ctor to create a component context passing a hashtable for values and a delegator
reference. |
ComponentContext
public ComponentContext(java.util.Hashtable table,
com.sun.star.uno.XComponentContext xDelegate)
- 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
getValueByName
public java.lang.Object getValueByName(java.lang.String rName)
getServiceManager
public com.sun.star.lang.XMultiComponentFactory getServiceManager()
dispose
public void dispose()
addEventListener
public void addEventListener(com.sun.star.lang.XEventListener xListener)
removeEventListener
public void removeEventListener(com.sun.star.lang.XEventListener xListener)