このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XConnectionPoint
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: lang ::

interface XConnectionPoint
Description
supports 関係 points for connectable 反対するs.

Connectable 反対するs support the に引き続いて features:

  • 去っていく/社交的な interfaces, such as event 始める,決めるs;
  • the ability to enumerate the types of the 去っていく/社交的な interfaces;
  • the ability to connect and disconnect 沈むs to the 反対する for those 去っていく/社交的な types;
  • the ability to enumerate the 関係s that 存在する to a particular 去っていく/社交的な interface.

When to 器具/実施する?

To create a connectable 反対する, you need to 器具/実施する 反対するs that 供給する two 関係のある interfaces:

The XConnectionPointContainer interface is 器具/実施するd on the connectable 反対する to 示す the 存在 of the 去っていく/社交的な interfaces. It 供給するs a sequence of sub-反対するs. It also 供給するs 接近 to all the 関係 point sub-反対するs, each of which 器具/実施するs the XConnectionPoint interface. The XConnectionPoint interface 供給するs a sequence of sub-反対するs.

Each 関係 point is a separate sub-反対する to 避ける circular 言及/関連 counting problems. A 関係 point 支配(する)/統制するs how many 関係s (one or more) it will 許す in its 実施 of advise().

When to use?

A (弁護士の)依頼人 can use the XConnectionPointContainer interface:

  • to get a sequence of 関係 points for each 去っていく/社交的な type.
  • to 得る 接近 to 関係 point sub-反対するs with the XConnectionPoint interface for each 去っていく/社交的な type. Through the XConnectionPoint interface, a (弁護士の)依頼人 starts or 終結させるs an (a)忠告の/(n)警報 宙返り飛行 with the connectable 反対する and the (弁護士の)依頼人's own 沈む. The (弁護士の)依頼人 can also use the XConnectionPoint interface to get a sequence of the 関係s that it knows about.
See also
XConnectionPointContainer

Methods' 要約
getConnectionType  
getConnectionPointContainer  
advise creates a 関係 between a 関係 point and a (弁護士の)依頼人's 沈む, where the 沈む 器具/実施するs the 去っていく/社交的な interface supported by this 関係 point.  
unadvise 終結させるs a notification 以前 始める,決める up with advise.  
getConnections  
Methods' 詳細(に述べる)s
getConnectionType
type
getConnectionType();

Returns
the type of the 去っていく/社交的な interface managed by this 関係 point.

Using the XConnectionPointContainer::getConnectionPoints method, a (弁護士の)依頼人 can 得る an XConnectionPoint interface. Using that interface and this method, the (弁護士の)依頼人 can 決定する the type of each 関係 point enumerated. The type returned from this method must enable the 報知係 to 接近 this same 関係 point through XConnectionPointContainer::findConnectionPoint.

See also
XConnectionPointContainer::findConnectionPoint
getConnectionPointContainer
XConnectionPointContainer
getConnectionPointContainer();

Returns
the XConnectionPointContainer interface on the parent connectable 反対する.
See also
XConnectionPointContainer
advise
無効の
advise( [in] ::com::sun::星/主役にする::uno::XInterface  xListener )
raises( ListenerExistException,
InvalidListenerException );

Description
creates a 関係 between a 関係 point and a (弁護士の)依頼人's 沈む, where the 沈む 器具/実施するs the 去っていく/社交的な interface supported by this 関係 point.

A few 追加する...Listener methods need 付加 parameters to 追加する listeners or throw exceptions. One of these methods is ::com::sun::星/主役にする::beans::XPropertySet::addPropertyChangeListener. We ignore the problem in this interface. A 解答 must be 供給するd in an 付加 XConnectionPoint interface.

Parameter xListener
明示するs the listener interface on the (弁護士の)依頼人's advise 沈む. The (弁護士の)依頼人's 沈む receives 去っていく/社交的な calls from the 関係 point コンテナ.
Throws
ListenerExistException if it is a unicast 放送者 and a listener is already 始める,決める.
Throws
InvalidListenerException if the listener does not 供給(する) the needed interfaces.
See also
::com::sun::星/主役にする::beans::XPropertySet::addPropertyChangeListener
unadvise
無効の
unadvise( [in] ::com::sun::星/主役にする::uno::XInterface  xListener );

Description
終結させるs a notification 以前 始める,決める up with advise.

A few 除去する...Listener methods need 付加 parameters to 追加する listeners or throw exceptions. One of these methods is ::com::sun::星/主役にする::beans::XPropertySet::removePropertyChangeListener. We ignore the problem in this interface. A 解答 must be 供給するd in an 付加 XConnectionPoint interface.

Parameter listener
明示するs the listener interface on the (弁護士の)依頼人's advise 沈む.
See also
::com::sun::星/主役にする::beans::XPropertySet::removePropertyChangeListener
getConnections
sequence< ::com::sun::星/主役にする::uno::XInterface >
getConnections();

Returns
a sequence of all 現在/一般に advised 関係s.
最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.