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

翻訳前ページへ


Interface XModel
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: でっちあげる,人を罪に陥れる ::

interface XModel
Base Interfaces
XModel
┗ ::com::sun::星/主役にする::lang::XComponent

::com::sun::星/主役にする::lang::XComponent
(言及/関連d interface's 要約:)
許すs to exclicitly 解放する/自由な 資源s and break cyclic 言及/関連s.
Description
代表するs a 構成要素 which is created from an URL and arguments.

It is a 代表 of a 資源 in the sense that it was created/負担d from the 資源. The arguments are passed to the loader to 修正する its 行為. An example for such an argument is "AsTemplate", which 負担s the 資源 as a template for a new 文書. (see ::com::sun::星/主役にする::文書::MediaDescriptor for その上の 詳細(に述べる)s)

Models can be controlled by 監査役 構成要素s, which are usually 見解(をとる)s of the model. (see 監査役 for その上の 詳細(に述べる)s)

If there is at least one 監査役, there is by 鮮明度/定義 a 現在の 監査役. And if that 監査役 supports the interface ::com::sun::星/主役にする::見解(をとる)::XSelectionSupplier, it has a 現在の 選択 too.

See also
::com::sun::星/主役にする::文書::MediaDescriptor, 監査役, ::com::sun::星/主役にする::見解(をとる)::XSelectionSupplier
Developers Guide
OfficeDev - 構成要素 - Models - XModel
OfficeDev - 構成要素 - Getting でっちあげる,人を罪に陥れるs, 監査役s and Models from Each Other
Text - Text 文書 監査役
OfficeDev - 構成要素 - Models
OfficeDev - でっちあげる,人を罪に陥れる-監査役-Model Paradigm in Apache OpenOffice

Methods' 要約
attachResource 知らせるs a model about its 資源 description.  
getURL 供給するs (警察などへの)密告,告訴(状) about the 場所 of this model  
getArgs 供給するs read acces on 現在/一般に 代表 of the ::com::sun::星/主役にする::文書::MediaDescriptor of this model which 述べるs the model and his 明言する/公表する  
connectController is called whenever a new 監査役 is created for this model.  
disconnectController is called whenever an 存在するing 監査役 should be deregistered at this model.  
lockControllers 一時停止するs some notifications to the 監査役s which are used for 陳列する,発揮する updates.  
unlockControllers 再開するs the notifications which were 一時停止するd by XModel::lockControllers().  
hasControllersLocked 決定するs if there is at least one lock remaining.  
getCurrentController 供給するs 接近 to the 監査役 which 現在/一般に 支配(する)/統制するs this model  
setCurrentController 始める,決めるs a 登録(する)d 監査役 as the 現在の 監査役.  
getCurrentSelection 供給するs read 接近 on 現在の 選択 on 監査役  
Methods' 詳細(に述べる)s
attachResource
boolean
attachResource( [in] string  URL,
[in] sequence< ::com::sun::星/主役にする::beans::PropertyValue >  Arguments );

Description
知らせるs a model about its 資源 description.
Parameter URL
明示するs the ressource
Parameter Arguments
are optional arguments for that ressource (see ::com::sun::星/主役にする::文書::MediaDescriptor)
Returns
true for success
誤った さもなければ
getURL
string
getURL();

Description
供給するs (警察などへの)密告,告訴(状) about the 場所 of this model
Returns
the URL of the 資源 which is 代表するd by this model.
See also
XStorable::getLocation()
getArgs
sequence< ::com::sun::星/主役にする::beans::PropertyValue >
getArgs();

Description
供給するs read acces on 現在/一般に 代表 of the ::com::sun::星/主役にする::文書::MediaDescriptor of this model which 述べるs the model and his 明言する/公表する
Returns
the arguments with which the model was 初めは created or 蓄える/店d the last time.
connectController
[oneway] 無効の
connectController( [in] XController  監査役 );

Description
is called whenever a new 監査役 is created for this model.

The ::com::sun::星/主役にする::lang::XComponent interface of the 監査役 must be used to 認める when it is 削除するd.

Parameter 監査役
a new 監査役 for this model
See also
XModel::disconnectController()
disconnectController
[oneway] 無効の
disconnectController( [in] XController  監査役 );

Description
is called whenever an 存在するing 監査役 should be deregistered at this model.

The ::com::sun::星/主役にする::lang::XComponent interface of the 監査役 must be used to 認める when it is 削除するd.

Parameter 監査役
the 存在するing 監査役 which should be deregistered
See also
XModel::connectController()
lockControllers
[oneway] 無効の
lockControllers();

Description
一時停止するs some notifications to the 監査役s which are used for 陳列する,発揮する updates.

The calls to XModel::lockControllers() and XModel::unlockControllers() may be nested and even overlapping, but they must be in pairs. While there is at least one lock remaining, some notifications for 陳列する,発揮する updates are not broadcasted.

unlockControllers
[oneway] 無効の
unlockControllers();

Description
再開するs the notifications which were 一時停止するd by XModel::lockControllers().

The calls to XModel::lockControllers() and XModel::unlockControllers() may be nested and even overlapping, but they must be in pairs. While there is at least one lock remaining, some notifications for 陳列する,発揮する updates are not broadcasted.

hasControllersLocked
boolean
hasControllersLocked();

Description
決定するs if there is at least one lock remaining.

While there is at least one lock remaining, some notifications for 陳列する,発揮する updates are not broadcasted to the 監査役s.

Returns
true if any lock 存在する
誤った さもなければ
getCurrentController
XController
getCurrentController();

Description
供給するs 接近 to the 監査役 which 現在/一般に 支配(する)/統制するs this model
Returns
If the 監査役 which is active is a 監査役 of this model, it will be returned. If not, the 監査役 which was the last active of this model is returned. If no 監査役 of this model ever was active, the 監査役 first 登録(する)d is returned. If no 監査役 is 登録(する)d for this model, NULL is returned.
setCurrentController
無効の
setCurrentController( [in] XController  監査役 )
raises( ::com::sun::星/主役にする::コンテナ::NoSuchElementException );

Description
始める,決めるs a 登録(する)d 監査役 as the 現在の 監査役.
Parameter 監査役
言及/関連 to an already 存在するing connected 監査役, which should be the new active one
Throws
com::sun::星/主役にする::コンテナ::NoSuchElementException if xController isn't an already connected 監査役 on this model
getCurrentSelection
::com::sun::星/主役にする::uno::XInterface
getCurrentSelection();

Description
供給するs read 接近 on 現在の 選択 on 監査役
Returns
the 現在の 選択 in the 現在の 監査役. If there is no 現在の 監査役, it returns NULL.
最高の,を越す 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.