java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.FileChooserUI
- 直系の既知のサブクラス:
BasicFileChooserUI
,MultiFileChooserUI
public abstract class FileChooserUI extends ComponentUI
JFileChooser
用のプラグイン可能なLook & Feelインタフェースです。-
コンストラクタのサマリー
-
メソッドのサマリー
修飾子と型メソッド説明abstract void
ensureFileIsVisible
(JFileChooser fc, File f) 問題のファイルが表示されていることを確認します。abstract FileFilter
accept-allファイル・フィルタを返します。abstract String
ボタン・テキストの承認を返します。現在のLookAndFeel
のデフォルトのボタンを返します。abstract String
ダイアログのタイトルを返します。abstract FileView
ファイル・ビューを返します。abstract void
現在のディレクトリを再スキャンします。クラス javax.swing.plaf.ComponentUIで宣言されたメソッド
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
-
コンストラクタの詳細
-
FileChooserUI
protected FileChooserUI()サブクラスが呼び出すためのコンストラクタ。
-
-
メソッドの詳細
-
getAcceptAllFileFilter
public abstract FileFilter getAcceptAllFileFilter(JFileChooser fc) accept-allファイル・フィルタを返します。- パラメータ:
fc
- ファイル・セレクタ- 戻り値:
- 受け入れ可能なすべてのファイル・フィルタ
-
getFileView
public abstract FileView getFileView(JFileChooser fc) ファイル・ビューを返します。- パラメータ:
fc
- ファイル・セレクタ- 戻り値:
- ファイル・ビュー
-
getApproveButtonText
public abstract String getApproveButtonText(JFileChooser fc) ボタン・テキストの承認を返します。- パラメータ:
fc
- ファイル・セレクタ- 戻り値:
- ボタン・テキストを承認します。
-
getDialogTitle
public abstract String getDialogTitle(JFileChooser fc) ダイアログのタイトルを返します。- パラメータ:
fc
- ファイル・セレクタ- 戻り値:
- ダイアログのタイトル。
-
rescanCurrentDirectory
public abstract void rescanCurrentDirectory(JFileChooser fc) 現在のディレクトリを再スキャンします。- パラメータ:
fc
- ファイル・セレクタ
-
ensureFileIsVisible
public abstract void ensureFileIsVisible(JFileChooser fc, File f) 問題のファイルが表示されていることを確認します。- パラメータ:
fc
- ファイル・セレクタf
- ファイル
-
getDefaultButton
public JButton getDefaultButton(JFileChooser fc) 現在のLookAndFeel
のデフォルトのボタンを返します。JFileChooser
はこのボタンをダイアログ・ウィンドウのデフォルトのボタンとして使用します。- パラメータ:
fc
- デフォルト・ボタンがリクエストされているJFileChooser
- 戻り値:
- 現在のLook&FeelのデフォルトのJButton
- 導入されたバージョン:
- 1.7
-