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.
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.