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

翻訳前ページへ


Interface XEventAttacherManager
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XEventAttacherManager
Description
登録(する)s listeners for 明示するd events.

Methods' 要約
registerScriptEvent 登録(する)s one event for an 反対する identified by its 索引.  
registerScriptEvents 登録(する)s several events for an 反対する identified by its 索引.  
revokeScriptEvent 取り消すs the 登録 of an event.  
revokeScriptEvents 取り消すs all events which are 登録(する)d for the given 索引.  
insertEntry creates an empty 入ること/参加(者) at the given position.  
removeEntry 除去するs the 入ること/参加(者) at the given position.  
getScriptEvents @eturns all events 登録(する)d for the given 反対する 索引.  
attach 大(公)使館員s all the ScriptEvents which are 登録(する)d for the given 索引 to the given 反対する.  
detach detaches all the ScriptEvents from the given 反対する which are 登録(する)d at this 反対する for the given 索引.  
addScriptListener 追加するs an XScriptListener that will be 通知するd when an event takes place. For that a ScriptEventDescriptor is 登録(する)d at and 大(公)使館員d to an 反対する by an XEventAttacherManager.  
removeScriptListener 除去するs a XScriptListener from the listener 名簿(に載せる)/表(にあげる).  
Methods' 詳細(に述べる)s
registerScriptEvent
無効の
registerScriptEvent( [in] long  nIndex,
[in] ScriptEventDescriptor  aScriptEvent )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
登録(する)s one event for an 反対する identified by its 索引.

If any 反対する is 大(公)使館員d under this 索引, then this event is 大(公)使館員d automatically.

Exceptions of type ::com::sun::星/主役にする::beans::IntrospectionException and CannotCreateAdapterException that can be thrown by methods of XEventAttacher are caught and ignored.

registerScriptEvents
無効の
registerScriptEvents( [in] long  nIndex,
[in] sequence< ScriptEventDescriptor >  aScriptEvents )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
登録(する)s several events for an 反対する identified by its 索引.

The result is the same as if the method registerScriptEvent was called once for each ScriptEventDescriptor in the sequence.

If any 反対する is 大(公)使館員d under this 索引, then this event is 大(公)使館員d automatically (see attach)

Exceptions of type ::com::sun::星/主役にする::beans::IntrospectionException and CannotCreateAdapterException that can be thrown by methods of XEventAttacher are caught and ignored.

See also
registerScriptEvent, attach
revokeScriptEvent
無効の
revokeScriptEvent( [in] long  nIndex,
[in] string  aListenerType,
[in] string  aEventMethod,
[in] string  aRemoveListenerParam )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
取り消すs the 登録 of an event.

The parameters ListenerType and EventMethod are 同等(の) to the first two members of the ScriptEventDescriptor used to 登録(する) events. If this event at this 索引 has been 大(公)使館員d to any 反対する, it is detached automatically (see attach).

Exceptions of type ::com::sun::星/主役にする::beans::IntrospectionException and CannotCreateAdapterException that can be thrown by methods of XEventAttacher are caught and ignored.

See also
attach
revokeScriptEvents
無効の
revokeScriptEvents( [in] long  nIndex )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
取り消すs all events which are 登録(する)d for the given 索引.

If the events at this 索引 have been 大(公)使館員d to any 反対する, they are detached automatically. (see attach).

See also
attach
insertEntry
無効の
insertEntry( [in] long  nIndex )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
creates an empty 入ること/参加(者) at the given position.

The 索引 n of all 入ること/参加(者)s with n &gt;= nIndex will be 増加するd by one.

removeEntry
無効の
removeEntry( [in] long  nIndex )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
除去するs the 入ること/参加(者) at the given position.

If any events are 登録(する)d at this 索引, they will be 取り消すd, too. So if the events at this 索引 have been 大(公)使館員d to any 反対する they are detached automatically. (see attach).

See also
attach
getScriptEvents
sequence< ScriptEventDescriptor >
getScriptEvents( [in] long  索引 )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
@eturns all events 登録(する)d for the given 反対する 索引.
Parameter 索引
an 索引 以前 挿入するd with the method insertEntry.
Throws
IllegalArgumentException if 索引 is not valid.
attach
無効の
attach( [in] long  nIndex,
[in] ::com::sun::星/主役にする::uno::XInterface  xObject,
[in] any  aHelper )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException,
::com::sun::星/主役にする::lang::ServiceNotRegisteredException );

Description
大(公)使館員s all the ScriptEvents which are 登録(する)d for the given 索引 to the given 反対する.

Exceptions of type ::com::sun::星/主役にする::beans::IntrospectionException and CannotCreateAdapterException that can be thrown by methods of XEventAttacher are caught and ignored.

detach
無効の
detach( [in] long  nIndex,
[in] ::com::sun::星/主役にする::uno::XInterface  xObject )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
detaches all the ScriptEvents from the given 反対する which are 登録(する)d at this 反対する for the given 索引.

Exceptions of type ::com::sun::星/主役にする::beans::IntrospectionException and CannotCreateAdapterException that can be thrown by methods of XEventAttacher are caught and ignored.

addScriptListener
無効の
addScriptListener( [in] XScriptListener  xListener )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
追加するs an XScriptListener that will be 通知するd when an event takes place. For that a ScriptEventDescriptor is 登録(する)d at and 大(公)使館員d to an 反対する by an XEventAttacherManager.

It is 示唆するd to 許す 多重の 登録 of the same listener, thus for each time a listener is 追加するd, it has to be 除去するd.

See also
removeScriptListener
removeScriptListener
無効の
removeScriptListener( [in] XScriptListener  Listener )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
除去するs a XScriptListener from the listener 名簿(に載せる)/表(にあげる).

Nothing happens if the listener is not 登録(する)d.

It is 示唆するd to 許す 多重の 登録 of the same listener, thus for each time a listener is 追加するd, it has to be 除去するd.

See also
addScriptListener
最高の,を越す of Page

The ASF

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

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