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

翻訳前ページへ


Interface XUIElementFactory
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XUIElementFactory
Description
明示するs a 使用者 interface element factory that can create and initialize 使用者 interface elements.

使用者 interface element factories must be 登録(する)d at a UIElementFactoryManager service to 供給する 接近 to itself. 現在/一般に the に引き続いて 使用者 interface element types are defined:

  • menubarA configurable 使用者 interface element.
  • popupmenuA configurable 使用者 interface element.
  • toolbarA configurable 使用者 interface element.
  • statusbarA configurable 使用者 interface element.
  • floaterA basic 使用者 interface element.

Since
OOo 2.0

Methods' 要約
createUIElement creates a new instances of a 明確な/細部 使用者 interface element.  
Methods' 詳細(に述べる)s
createUIElement
XUIElement
createUIElement( [in] string  ResourceURL,
[in] sequence< ::com::sun::星/主役にする::beans::PropertyValue >  Args )
raises( ::com::sun::星/主役にする::コンテナ::NoSuchElementException,
::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
creates a new instances of a 明確な/細部 使用者 interface element.
Parameter ResourceURL
明示するs which unique 使用者 interface element should be created by the factory. A resourcce URL must 会合,会う the に引き続いて syntax: "私的な:資源/$type/$name. It is only 許すd to use ascii characters for type and 指名する. This argument must not be empty to have a working 使用者 interface element instance.The 実施 can throw an ::com::sun::星/主役にする::コンテナ::NoSuchElementException if it doesn't know how to create the request 使用者 interface element.
Parameter Args
The に引き続いて arguments are supported:
  • でっちあげる,人を罪に陥れる
    明示するs the ::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XFrame instance to which the 使用者 interface element belongs to. To create a configurable 使用者 interface element the でっちあげる,人を罪に陥れる instance must 含む/封じ込める a 明白な 構成要素. さもなければ it is not possible to 決定する the 訂正する 使用者 interface configuration 経営者/支配人. This argument is 義務的な to have a working configurable 使用者 interface element instance.
  • ParentWindow
    明示するs a parent window to use for the window(s) 代表するing the UI element. Depending on the 固める/コンクリート UI element type, this parameter might be 要求するd or ignored by an 実施.
  • 執拗な
    明示するs if changes to a configurable 使用者 interface element should be 執拗な. This is an optional argument. The default value is true.

An 実施 is responsible to initialize every newly created 使用者 interface element if the necessary 所有物/資産/財産s are 供給するd. 特に it must connect a configurable 使用者 interface element to the 訂正する 使用者 interface configuration 経営者/支配人. Without this 関係 the configurable 使用者 interface element cannot retrieve its structure data and changes to the 使用者 interface element structure won't be 執拗な. It is up to the 実施 to throw an ::com::sun::星/主役にする::lang::IllegalArgumentException if it cannot create a 使用者 interface element with the 供給するd arguments.

See also
ConfigurableUIElement
See also
UIElement

最高の,を越す of Page

The ASF

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

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