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