UDK 3.1.0 Java API Reference

com.sun.star.lib.uno.helper
クラス ComponentBase

java.lang.Object
  |
  +--com.sun.star.lib.uno.helper.WeakBase
        |
        +--com.sun.star.lib.uno.helper.ComponentBase
すべての実装インタフェース:
XComponent, XInterface, XTypeProvider, XWeak
直系の既知のサブクラス:
Factory, PropertySet

public class ComponentBase
extends WeakBase
implements XComponent

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.


フィールドの概要
protected  boolean bDisposed
           
protected  boolean bInDispose
           
protected  MultiTypeInterfaceContainer listenerContainer
           
 
クラス com.sun.star.lib.uno.helper.WeakBase から継承したフィールド
_mapImplementationIds, _mapTypes
 
インタフェース com.sun.star.lang.XComponent から継承したフィールド
UNOTYPEINFO
 
インタフェース com.sun.star.uno.XWeak から継承したフィールド
UNOTYPEINFO
 
インタフェース com.sun.star.lang.XTypeProvider から継承したフィールド
UNOTYPEINFO
 
コンストラクタの概要
ComponentBase()
          Creates a new instance of CompBase
 
メソッドの概要
 void addEventListener(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(XEventListener xEventListener)
          Method of XComponent.
 
クラス com.sun.star.lib.uno.helper.WeakBase から継承したメソッド
getImplementationId, getTypes, queryAdapter
 
クラス java.lang.Object から継承したメソッド
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

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.

定義:
インタフェース XComponent 内の dispose

removeEventListener

public void removeEventListener(XEventListener xEventListener)
Method of XComponent.

定義:
インタフェース XComponent 内の removeEventListener

addEventListener

public void addEventListener(XEventListener listener)
定義:
インタフェース XComponent 内の addEventListener

finalize

protected void finalize()
                 throws Throwable
クラス WeakBase の記述:
Override of Object.finalize. When there are no references to this object anymore then the garbage collector calls this method. Thereby causing the adapter object to be notified. The adapter, in turn, notifies all listeners (com.sun.star.uno.XReference)

オーバーライド:
クラス WeakBase 内の finalize
Throwable

UDK 3.1.0 Java API Reference