com.sun.star.lang.XComponent
, com.sun.star.uno.XInterface
Factory
, PropertySet
public class ComponentBase extends WeakBase implements com.sun.star.lang.XComponent
Modifier and Type | Field | Description |
---|---|---|
protected boolean |
bDisposed |
|
protected boolean |
bInDispose |
|
protected MultiTypeInterfaceContainer |
listenerContainer |
Constructor | Description |
---|---|
ComponentBase() |
Creates a new instance of CompBase
|
Modifier and Type | Method | 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.
|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getImplementationId, getTypes, queryAdapter
protected MultiTypeInterfaceContainer listenerContainer
protected boolean bInDispose
protected boolean bDisposed
protected void preDisposing()
protected void postDisposing()
public void dispose()
dispose
in interface com.sun.star.lang.XComponent
public void removeEventListener(com.sun.star.lang.XEventListener xEventListener)
removeEventListener
in interface com.sun.star.lang.XComponent
public void addEventListener(com.sun.star.lang.XEventListener listener)
addEventListener
in interface com.sun.star.lang.XComponent
protected void finalize() throws Throwable
WeakBase