|
|
com.sun.star.lib.uno.helper
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
| Field Summary |
| Fields inherited from interface com.sun.star.uno.XAdapter |
UNOTYPEINFO |
| Constructor Summary | |
WeakAdapter(Object component)
|
|
| Method Summary | |
void |
addReference(XReference xReference)
Method of com.sun.star.uno.XAdapter. |
Object |
queryAdapted()
Method of com.sun.star.uno.XAdapter. |
void |
removeReference(XReference xReference)
Method of com.sun.star.uno.XAdapter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
WeakAdapter
public WeakAdapter(Object component)
- Parameters:
component- the object that is to be held weak
| Method Detail |
queryAdapted
public Object queryAdapted()
- Method of com.sun.star.uno.XAdapter. It is called to obtain a hard reference
to the object which is kept weak by this instance.
- Specified by:
queryAdaptedin interfaceXAdapter
- Returns:
- hard reference to the object
removeReference
public void removeReference(XReference xReference)
- Method of com.sun.star.uno.XAdapter. Called by clients to register listener which
are notified when the weak object is dying.
- Specified by:
removeReferencein interfaceXAdapter
- Parameters:
xReference- a listener
addReference
public void addReference(XReference xReference)
- Method of com.sun.star.uno.XAdapter. Called by clients to unregister listeners.
- Specified by:
addReferencein interfaceXAdapter
|
UDK 3.2.0 Java API Reference | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||


