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

翻訳前ページへ


Interface XObjectInspectorModel
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: 査察 ::

interface XObjectInspectorModel
Description
述べるs the model of an ObjectInspector
Since
OOo 2.0.3
See also
ObjectInspector

Methods' 要約
describeCategories 述べるs the 所有物/資産/財産 部類s used by the 所有物/資産/財産 handlers.  
getPropertyOrderIndex retrieves an 索引 in a 全世界の 所有物/資産/財産 ordering, for a given 所有物/資産/財産 指名する  
せいにするs' 要約
HandlerFactories 述べるs a 始める,決める of factories for creating XPropertyHandlers  
HasHelpSection 示すs that the 反対する 視察官 should have a help section.  
MinHelpTextLines denotes the 最小限 number of lines of text to be reserved for the help section.  
MaxHelpTextLines denotes the 最大限 number of lines of text to be reserved for the help section.  
IsReadOnly 決定するs whether the 反対する 視察官's UI should be read-only.  
Methods' 詳細(に述べる)s
describeCategories
sequence< PropertyCategoryDescriptor >
describeCategories();

Description
述べるs the 所有物/資産/財産 部類s used by the 所有物/資産/財産 handlers.

所有物/資産/財産s can be sorted into different 部類s, 述べるd by the LineDescriptor::部類 せいにする, which is filled in XPropertyHandler::describePropertyLine method of your 所有物/資産/財産 handler.
Those 指名するs 供給するd by the handlers are programmatic 指名するs. All other (警察などへの)密告,告訴(状) about 部類s is part of the PropertyCategoryDescriptor, and describeCategories 組み立てる/集結するs (警察などへの)密告,告訴(状) about all 部類s which all 所有物/資産/財産 handlers 供給するd by the model use.

Returns
a sequence of 部類 descriptors. Their 親族 ordering also 述べるs the 親族 ordering of the 部類s in the ObjectInspector's 使用者 interface.
The sequence must not 含む/封じ込める two 入ること/参加(者)s with the same programmatic 指名する.

The model 実施 might return an empty sequence here, in this 事例/患者, the ObjectInspector automatically builds its 部類 (警察などへの)密告,告訴(状) from the 部類s 供給するd by the 所有物/資産/財産 handlers.
See also
PropertyCategoryDescriptor, LineDescriptor::部類
getPropertyOrderIndex
long
getPropertyOrderIndex( [in] string  PropertyName );

Description
retrieves an 索引 in a 全世界の 所有物/資産/財産 ordering, for a given 所有物/資産/財産 指名する

In the 使用者 interface of an ObjectInspector, 選び出す/独身 所有物/資産/財産s are 代表するd by 選び出す/独身 lines, and those lines are 陳列する,発揮するd successively. To 決定する an order of the 所有物/資産/財産 lines, the 視察官 model can associate an "order 索引" with each 所有物/資産/財産. The ObjectInspector will then sort the 所有物/資産/財産 lines in a way that they have the same 親族 ordering as the "order 索引s" of their 所有物/資産/財産s.

公式文書,認める that the 固める/コンクリート value the model returns for a given 所有物/資産/財産 does not 事柄. All what 事柄s is that if you want a 確かな 所有物/資産/財産 Foo to be 陳列する,発揮するd after another 所有物/資産/財産 妨げる/法廷,弁護士業, then the order 索引 of Foo should be greater than the order 索引 of 妨げる/法廷,弁護士業.

If for two different 所有物/資産/財産s the same order 索引 is returned, the ObjectInspector will assume the order in which those 所有物/資産/財産s were 供給するd by the 各々の 所有物/資産/財産 handler (XPropertyHandler::getSupportedProperties).
If two such 所有物/資産/財産s 起こる/始まる from different handlers, they will be ordered (許可,名誉などを)与えるing to the order of the handlers, as 供給するd in the HandlerFactories せいにする.

Parameter PropertyName
the 所有物/資産/財産 whose 全世界の order 索引 should be retrieved
Returns
the 全世界の order 索引 of PropertyName.
せいにするs' 詳細(に述べる)s
HandlerFactories
[ readonly ] sequence< any > HandlerFactories;
Description
述べるs a 始める,決める of factories for creating XPropertyHandlers

Every element of the sequence must 含む/封じ込める (警察などへの)密告,告訴(状) to create a XPropertyHandler instance. Two ways are 現在/一般に supported:

  • A sevice 指名する:
    If a sequence element 含む/封じ込めるs a string, this string is 解釈する/通訳するd as service 指名する, and an ::com::sun::星/主役にする::lang::XMultiComponentFactory is asked to create an instance of this service.
  • A factory:
    If a sequence element 含む/封じ込めるs an instance 器具/実施するing the ::com::sun::星/主役にする::lang::XSingleComponentFactory interface, this factory is used to create a 所有物/資産/財産 handler.

This せいにする is usually only 評価するd by the ObjectInspector instance which the model is 現在/一般に bound to.

The order of factories is important: If two 所有物/資産/財産 handlers 宣言する themself responsible for the same 所有物/資産/財産, the one whose factory is 名簿(に載せる)/表(にあげる)d last 勝利,勝つs. Also, if a handler B wants to supersede a 所有物/資産/財産 of another handler A, A's factory must に先行する the factory of B.

See also
XPropertyHandler::getSupportedProperties, XPropertyHandler::getSupersededProperties
HasHelpSection
[ readonly ] boolean HasHelpSection;
Description
示すs that the 反対する 視察官 should have a help section.

The 反対する 視察官 陳列する,発揮するs lines of 所有物/資産/財産/values, optionally grouped into 部類s, as 述べるd by the 所有物/資産/財産 handlers.
Additionally, the 視察官 can optionally 陳列する,発揮する a section 献身的な to help texts. (弁護士の)依頼人s could use this section to 陳列する,発揮する 状況-極度の慎重さを要する help, for instance short texts explaining the 現在/一般に selected 所有物/資産/財産.

Since
OOo 2.2
MinHelpTextLines
[ readonly ] long MinHelpTextLines;
Description
denotes the 最小限 number of lines of text to be reserved for the help section.

This 所有物/資産/財産 is ignored by the ObjectInspector if HasHelpSection is 誤った.

The layout of the ObjectInspector is undefined if MinHelpTextLines is larger than MaxHelpTextLines.

Since
OOo 2.2
MaxHelpTextLines
[ readonly ] long MaxHelpTextLines;
Description
denotes the 最大限 number of lines of text to be reserved for the help section.

This 所有物/資産/財産 is ignored by the ObjectInspector if HasHelpSection is 誤った.

The layout of the ObjectInspector is undefined if MaxHelpTextLines is smaller than MinHelpTextLines.

Since
OOo 2.2
IsReadOnly
[ bound ] boolean IsReadOnly;
Description
決定するs whether the 反対する 視察官's UI should be read-only.

In this 事例/患者, the 使用者 is able to browse through all 所有物/資産/財産s, but cannot change any of them.

In a read-only 反対する 視察官, the 所有物/資産/財産 支配(する)/統制するs are readonly or 無能にするd themself, and the 最初の/主要な and 第2位 buttons of a 所有物/資産/財産 line are both 無能にするd.

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