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

翻訳前ページへ


Interface XDialogProvider2
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XDialogProvider2
Base Interfaces
XDialogProvider2XDialogProvider

XDialogProvider
(言及/関連d interface's 要約:)
供給するs dialogs 器具/実施するing the XDialog interface.
Description
供給するs dialogs 器具/実施するing the XDialog interface.

Methods' 要約
createDialogWithHandler creates a dialog for the given URL 受託するing an Interface used to 扱う dialog events.  
createDialogWithArguments creates a dialog for the given URL, 受託するing 付加 創造 parameters  
Methods' 詳細(に述べる)s
createDialogWithHandler
XDialog
createDialogWithHandler( [in] string  URL,
[in] ::com::sun::星/主役にする::uno::XInterface  xHandler )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
creates a dialog for the given URL 受託するing an Interface used to 扱う dialog events.
Parameter URL
is the URL.
Parameter xHandler
is the interface that will be called to 扱う the Events that are 生成するd by the dialog (and all 支配(する)/統制するs placed on it) and bound to the handler using a vnd.sun.星/主役にする.UNO URL 明示するing a handler method to be called. Usually this will be done 直接/まっすぐに by the 使用者. xHandler can 扱う events in two different ways: 1. By supporting the XDialogEventHandler interface. This is a generic interface to 受託する event notifications. 2. By 供給するing interfaces that 直接/まっすぐに 器具/実施する the handler methods to be called. The XDialogProvider2 実施 then will try to 接近 these events using the ::com::sun::星/主役にする::beans::IntrospectionIntrospection service. To make this possible the handler 実施 also has to support ::com::sun::星/主役にする::lang::XTypeProvider. If XDialogEventHandler is supported XDialogEventHandler.callHandlerMethod() is always called first to 扱う the event. Only if the event cannot be 扱うd by XDialogEventHandler (callHandlerMethod() then has to return 誤った) or if XDialogEventHandler is not supported at all the Introspection based 接近 will be used. The Introspection based 接近 tries to call a method 指名するd によれば the HandlerMethodName 明示するd by a vnd.sun.星/主役にする.UNO: URL. First a method 無効の HandlerMethodName( [in] com::sun::星/主役にする::awt::XDialog xDialog, [in] any aEvent ) will be searched. The 署名 is 類似の to XDialogEventHandler. callHandlerMethod except for MethodName itself that isn't needed here. For more (警察などへの)密告,告訴(状) about these parameters, see XDialogEventHandler. If this method is 設立する, it will be called, さもなければ a method 無効の HandlerMethodName( 無効の ) will be searched and called.
Returns
a dialog 器具/実施するing the XDialog interface.
Throws
com::sun::星/主役にする::lang::IllegalArgumentException if no dialog for the given URL is 設立する or if the URL is 無効の or xHandler is null.
See also
XDialogEventHandler
createDialogWithArguments
XDialog
createDialogWithArguments( [in] string  URL,
[in] sequence< ::com::sun::星/主役にする::beans::NamedValue >  Arguments )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
creates a dialog for the given URL, 受託するing 付加 創造 parameters

The arguments 受託するd so far are

  • ParentWindow - must be a 構成要素 supporting the XWindowPeer interface, or a 構成要素 supporting the XControl interfac, so an XWindowPeer can be 得るd from it. The given window will be used as parent window for the to-be-created dialog.
  • EventHandler - 明示するs a 構成要素 扱うing events in the dialog. See createDialogWithHandler for a 詳細(に述べる)d specification of dialog event 扱うing.

最高の,を越す 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.