public class WeakAdapter
extends java.lang.Object
implements com.sun.star.uno.XAdapter
Constructor and Description |
---|
WeakAdapter(java.lang.Object component) |
Modifier and Type | Method and Description |
---|---|
void |
addReference(com.sun.star.uno.XReference xReference)
Method of com.sun.star.uno.XAdapter.
|
java.lang.Object |
queryAdapted()
Method of com.sun.star.uno.XAdapter.
|
void |
removeReference(com.sun.star.uno.XReference xReference)
Method of com.sun.star.uno.XAdapter.
|
public WeakAdapter(java.lang.Object component)
component
- the object that is to be held weakpublic java.lang.Object queryAdapted()
queryAdapted
in interface com.sun.star.uno.XAdapter
public void removeReference(com.sun.star.uno.XReference xReference)
removeReference
in interface com.sun.star.uno.XAdapter
xReference
- a listenerpublic void addReference(com.sun.star.uno.XReference xReference)
addReference
in interface com.sun.star.uno.XAdapter
xReference
- listener