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