public class ComponentBase extends WeakBase implements com.sun.star.lang.XComponent
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
bDisposed |
protected boolean |
bInDispose |
protected MultiTypeInterfaceContainer |
listenerContainer |
| Constructor and Description |
|---|
ComponentBase()
Creates a new instance of CompBase
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEventListener(com.sun.star.lang.XEventListener listener) |
void |
dispose()
Method of XComponent.
|
protected void |
finalize()
Override of Object.finalize.
|
protected void |
postDisposing()
Override to become notified right before the disposing action is performed.
|
protected void |
preDisposing()
Override to perform extra clean-up work.
|
void |
removeEventListener(com.sun.star.lang.XEventListener xEventListener)
Method of XComponent.
|
getImplementationId, getTypes, queryAdapterprotected MultiTypeInterfaceContainer listenerContainer
protected boolean bInDispose
protected boolean bDisposed
protected void preDisposing()
protected void postDisposing()
public void dispose()
dispose in interface com.sun.star.lang.XComponentpublic void removeEventListener(com.sun.star.lang.XEventListener xEventListener)
removeEventListener in interface com.sun.star.lang.XComponentpublic void addEventListener(com.sun.star.lang.XEventListener listener)
addEventListener in interface com.sun.star.lang.XComponentprotected void finalize()
throws Throwable
WeakBase