com.sun.star.comp.helper
Class ComponentContext
java.lang.Object
|
+--com.sun.star.comp.helper.ComponentContext
- All Implemented Interfaces:
- com.sun.star.lang.XComponent, XComponentContext, XInterface
- public class ComponentContext
- extends java.lang.Object
- implements XComponentContext, com.sun.star.lang.XComponent
Component context implementation.
| Fields inherited from interface com.sun.star.lang.XComponent |
UNOTYPEINFO |
|
Constructor Summary |
ComponentContext(java.util.Hashtable table,
XComponentContext xDelegate)
Ctor to create a component context passing a hashtable for values and a delegator
reference. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentContext
public ComponentContext(java.util.Hashtable table,
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)
- Specified by:
getValueByName in interface XComponentContext
getServiceManager
public com.sun.star.lang.XMultiComponentFactory getServiceManager()
- Specified by:
getServiceManager in interface XComponentContext
dispose
public void dispose()
- Specified by:
dispose in interface com.sun.star.lang.XComponent
addEventListener
public void addEventListener(com.sun.star.lang.XEventListener xListener)
- Specified by:
addEventListener in interface com.sun.star.lang.XComponent
removeEventListener
public void removeEventListener(com.sun.star.lang.XEventListener xListener)
- Specified by:
removeEventListener in interface com.sun.star.lang.XComponent