com.sun.star.lib.uno.helper
Class ComponentBase
com.sun.star.lib.uno.helper.ComponentBase
- public class ComponentBase
This class can be used as the base class for UNO components. In addition to the functionality ,which
is inherited from WeakBase, it implements com.sun.star.lang.XComponent.
|
Constructor Summary |
ComponentBase()
Creates a new instance of CompBase |
|
Method Summary |
void |
addEventListener(com.sun.star.lang.XEventListener listener)
|
void |
dispose()
Method of XComponent. |
protected void |
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. |
listenerContainer
protected MultiTypeInterfaceContainer listenerContainer
bInDispose
protected boolean bInDispose
bDisposed
protected boolean bDisposed
ComponentBase
public ComponentBase()
- Creates a new instance of CompBase
preDisposing
protected void preDisposing()
- Override to perform extra clean-up work. Provided for subclasses. It is
called during dispose()
postDisposing
protected void postDisposing()
- Override to become notified right before the disposing action is performed.
dispose
public void dispose()
- Method of XComponent. It is called by the owning client when the component is not needed
anymore. The registered listeners are notified that this method has been called.
removeEventListener
public void removeEventListener(com.sun.star.lang.XEventListener xEventListener)
- Method of XComponent.
addEventListener
public void addEventListener(com.sun.star.lang.XEventListener listener)
finalize
protected void finalize()
throws java.lang.Throwable