com.sun.star.uno.XAdapter
, com.sun.star.uno.XInterface
public class WeakAdapter extends Object implements com.sun.star.uno.XAdapter
Constructor | Description |
---|---|
WeakAdapter(Object component) |
Modifier and Type | Method | 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.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