public class ComponentBase extends WeakBase implements XComponent
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
bDisposed |
protected boolean |
bInDispose |
protected MultiTypeInterfaceContainer |
listenerContainer |
_mapImplementationIds, _mapTypesUNOTYPEINFOUNOTYPEINFOUNOTYPEINFO| Constructor and Description |
|---|
ComponentBase()
Creates a new instance of CompBase
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEventListener(XEventListener listener) |
protected void |
checkDisposed()
Checks whether this component (which you should have locked, prior to this call, and until you are done using) is disposed, throwing DisposedException if it is.
|
void |
dispose()
Method of XComponent.
|
protected void |
finalize()
Override of Object.finalize.
|
protected boolean |
isDisposed()
Checks whether this component (which you should have locked, prior to this call, and until you are done using) is disposed.
|
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(XEventListener xEventListener)
Method of XComponent.
|
getImplementationId, getTypes, queryAdapterprotected MultiTypeInterfaceContainer listenerContainer
protected boolean bInDispose
protected boolean bDisposed
protected final boolean isDisposed()
protected final void checkDisposed()
protected void preDisposing()
protected void postDisposing()
public void dispose()
dispose in interface XComponentpublic void removeEventListener(XEventListener xEventListener)
removeEventListener in interface XComponentpublic void addEventListener(XEventListener listener)
addEventListener in interface XComponentprotected void finalize()
throws Throwable
WeakBase