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