モジュール java.desktop
パッケージ javax.swing.plaf

クラスFileChooserUI

java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.FileChooserUI
直系の既知のサブクラス:
BasicFileChooserUI, MultiFileChooserUI

public abstract class FileChooserUI
extends ComponentUI
JFileChooser用のプラグイン可能なLook & Feelインタフェースです。
  • コンストラクタの詳細

  • メソッドの詳細

    • 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