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

翻訳前ページへ


Interface XFilePicker
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XFilePicker
Base Interfaces
XFilePickerXExecutableDialog

XExecutableDialog
(言及/関連d interface's 要約:)
明示するs an interface for an executable dialog.
Description
明示するs an interface for a FilePicker

Methods' 要約
setMultiSelectionMode Enable/無能にする multiselection 方式  
setDefaultName 始める,決めるs the default string that appears in the とじ込み/提出する 指名する box of a FilePicker.  
setDisplayDirectory 始める,決めるs the directory that the とじ込み/提出する dialog 最初 陳列する,発揮するs.  
getDisplayDirectory Returns the directory that the とじ込み/提出する dialog is 現在/一般に showing or was last showing before の近くにing the dialog with Ok. If the 使用者 did 取り消す the dialog, the returned value is undefined.  
getFiles Returns a sequence of the selected とじ込み/提出するs 含むing path (警察などへの)密告,告訴(状) in URL 判型, 適合する to Rfc1738.  
Methods' 詳細(に述べる)s
setMultiSelectionMode
無効の
setMultiSelectionMode( [in] boolean  bMode );

Description
Enable/無能にする multiselection 方式

If the multiselection 方式 is enabled, 多重の とじ込み/提出するs may be selected by the 使用者 else only one とじ込み/提出する 選択 at a time is possible

Parameter bMode

A value of true enables the multiselection 方式.

A value of 誤った 無能にするs the multiselection 方式, this is the default.

setDefaultName
無効の
setDefaultName( [in] string  aName );

Description
始める,決めるs the default string that appears in the とじ込み/提出する 指名する box of a FilePicker.
Parameter aName

明示するs the default とじ込み/提出する 指名する, 陳列する,発揮するd when the FilePicker is shown. The 実施 may 受託する any string, and does not have to check for a valid とじ込み/提出する 指名する or if the とじ込み/提出する really 存在するs.

setDisplayDirectory
無効の
setDisplayDirectory( [in] string  aDirectory )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
始める,決めるs the directory that the とじ込み/提出する dialog 最初 陳列する,発揮するs.
Parameter aDirectory
明示するs the 初期の directory in URL 判型. The given URL must be 適合する to Rfc1738).
Throws
com::sun::星/主役にする::lang::IllegalArgumentException if the URL is 無効の (doesn't 適合する to Rfc1738).
getDisplayDirectory
string
getDisplayDirectory();

Description
Returns the directory that the とじ込み/提出する dialog is 現在/一般に showing or was last showing before の近くにing the dialog with Ok. If the 使用者 did 取り消す the dialog, the returned value is undefined.
Returns
The directory in URL 判型, must be 適合する to Rfc1738.
getFiles
sequence< string >
getFiles();

Description
Returns a sequence of the selected とじ込み/提出するs 含むing path (警察などへの)密告,告訴(状) in URL 判型, 適合する to Rfc1738.

If the 使用者 の近くにd the dialog with 取り消す an empty sequence will be returned.


If the dialog is in 死刑執行 方式 and a 選び出す/独身 とじ込み/提出する is selected the 完全にする URL of this とじ込み/提出する will be returned.

If the dialog is in 死刑執行 方式 and 多重の とじ込み/提出するs are selected an empty sequence will be returned.

If the dialog is in 死刑執行 方式 and the selected とじ込み/提出する 指名する is 誤った or any other error occurs an empty sequence will be returned.

Returns

The 完全にする path of the とじ込み/提出する or directory 現在/一般に selected in URL 判型. There are two different 事例/患者s:

  1. Multiselection is 無能にするd: The first and only 入ること/参加(者) of the sequence 含む/封じ込めるs the 完全にする path/filename in URL 判型.
  2. Multiselection is enabled: If only one とじ込み/提出する is selected, the first 入ること/参加(者) of the sequence 含む/封じ込めるs the 完全にする path/filename in URL 判型. If 多重の とじ込み/提出するs are selected, the first 入ること/参加(者) of the sequence 含む/封じ込めるs the path in URL 判型, and the other 入ること/参加(者)s 含む/封じ込めるs the 指名するs of the selected とじ込み/提出するs without path (警察などへの)密告,告訴(状).

公式文書,認めるs for the 実施 of a FileSave dialog:If there 存在するs a checkbox "(a)自動的な/(n)自動拳銃 とじ込み/提出する 拡張" which is checked and a valid filter is 現在/一般に selected the dialog may automatically 追加する an 拡張 to the selected とじ込み/提出する 指名する.

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