JavaTM Platform
Standard Ed. 6

クラス
javax.swing.JFileChooser の使用

JFileChooser を使用しているパッケージ
javax.swing.plaf 1 つのインタフェースおよび多くの abstract クラスを提供しており、Swing は、プラグイン可能な Look & Feel 機能を実現するためにこれらのクラスを利用します。 
javax.swing.plaf.basic 基本 Look & Feel に従って構築されたユーザーインタフェースオブジェクトを提供します。 
javax.swing.plaf.metal デフォルトの Look & Feel である Java Look & Feel (コード名は Metal) に従って作成されたユーザーインタフェースオブジェクトを提供します。 
javax.swing.plaf.multi 複数の Look & Feel を結合するユーザーインタフェースオブジェクトを提供します。 
 

javax.swing.plaf での JFileChooser の使用
 

JFileChooser 型のパラメータを持つ javax.swing.plaf のメソッド
abstract  void FileChooserUI.ensureFileIsVisible(JFileChooser fc, File f)
           
abstract  FileFilter FileChooserUI.getAcceptAllFileFilter(JFileChooser fc)
           
abstract  String FileChooserUI.getApproveButtonText(JFileChooser fc)
           
abstract  String FileChooserUI.getDialogTitle(JFileChooser fc)
           
abstract  FileView FileChooserUI.getFileView(JFileChooser fc)
           
abstract  void FileChooserUI.rescanCurrentDirectory(JFileChooser fc)
           
 

javax.swing.plaf.basic での JFileChooser の使用
 

JFileChooser を返す javax.swing.plaf.basic のメソッド
 JFileChooser BasicFileChooserUI.getFileChooser()
           
 

JFileChooser 型のパラメータを持つ javax.swing.plaf.basic のメソッド
protected  MouseListener BasicFileChooserUI.createDoubleClickListener(JFileChooser fc, JList list)
           
 ListSelectionListener BasicFileChooserUI.createListSelectionListener(JFileChooser fc)
           
 PropertyChangeListener BasicFileChooserUI.createPropertyChangeListener(JFileChooser fc)
           
 void BasicFileChooserUI.ensureFileIsVisible(JFileChooser fc, File f)
           
 FileFilter BasicFileChooserUI.getAcceptAllFileFilter(JFileChooser fc)
          デフォルトで認められるすべてのファイルフィルタを返します。
protected  JButton BasicFileChooserUI.getApproveButton(JFileChooser fc)
           
 int BasicFileChooserUI.getApproveButtonMnemonic(JFileChooser fc)
           
 String BasicFileChooserUI.getApproveButtonText(JFileChooser fc)
           
 String BasicFileChooserUI.getApproveButtonToolTipText(JFileChooser fc)
           
 String BasicFileChooserUI.getDialogTitle(JFileChooser fc)
          このダイアログのタイトルを返します。
 FileView BasicFileChooserUI.getFileView(JFileChooser fc)
           
 void BasicFileChooserUI.installComponents(JFileChooser fc)
           
protected  void BasicFileChooserUI.installDefaults(JFileChooser fc)
           
protected  void BasicFileChooserUI.installIcons(JFileChooser fc)
           
protected  void BasicFileChooserUI.installListeners(JFileChooser fc)
           
protected  void BasicFileChooserUI.installStrings(JFileChooser fc)
           
 void BasicFileChooserUI.rescanCurrentDirectory(JFileChooser fc)
           
 void BasicFileChooserUI.uninstallComponents(JFileChooser fc)
           
protected  void BasicFileChooserUI.uninstallDefaults(JFileChooser fc)
           
protected  void BasicFileChooserUI.uninstallIcons(JFileChooser fc)
           
protected  void BasicFileChooserUI.uninstallListeners(JFileChooser fc)
           
protected  void BasicFileChooserUI.uninstallStrings(JFileChooser fc)
           
 

JFileChooser 型のパラメータを持つ javax.swing.plaf.basic のコンストラクタ
BasicDirectoryModel(JFileChooser filechooser)
           
BasicFileChooserUI(JFileChooser b)
           
 

javax.swing.plaf.metal での JFileChooser の使用
 

JFileChooser 型のパラメータを持つ javax.swing.plaf.metal のメソッド
protected  JPanel MetalFileChooserUI.createDetailsView(JFileChooser fc)
           
protected  MetalFileChooserUI.DirectoryComboBoxModel MetalFileChooserUI.createDirectoryComboBoxModel(JFileChooser fc)
           
protected  javax.swing.plaf.metal.MetalFileChooserUI.DirectoryComboBoxRenderer MetalFileChooserUI.createDirectoryComboBoxRenderer(JFileChooser fc)
           
protected  JPanel MetalFileChooserUI.createList(JFileChooser fc)
           
 ListSelectionListener MetalFileChooserUI.createListSelectionListener(JFileChooser fc)
          ファイルおよびディレクトリのリスト用の選択リスナーを作成します。
 PropertyChangeListener MetalFileChooserUI.createPropertyChangeListener(JFileChooser fc)
           
 void MetalFileChooserUI.ensureFileIsVisible(JFileChooser fc, File f)
           
protected  JButton MetalFileChooserUI.getApproveButton(JFileChooser fc)
           
 void MetalFileChooserUI.installComponents(JFileChooser fc)
           
protected  void MetalFileChooserUI.installListeners(JFileChooser fc)
           
protected  void MetalFileChooserUI.installStrings(JFileChooser fc)
           
 void MetalFileChooserUI.rescanCurrentDirectory(JFileChooser fc)
           
 void MetalFileChooserUI.uninstallComponents(JFileChooser fc)
           
 

JFileChooser 型のパラメータを持つ javax.swing.plaf.metal のコンストラクタ
MetalFileChooserUI(JFileChooser filechooser)
           
 

javax.swing.plaf.multi での JFileChooser の使用
 

JFileChooser 型のパラメータを持つ javax.swing.plaf.multi のメソッド
 void MultiFileChooserUI.ensureFileIsVisible(JFileChooser a, File b)
          このオブジェクトが扱う各 UI で ensureFileIsVisible メソッドを呼び出します。
 FileFilter MultiFileChooserUI.getAcceptAllFileFilter(JFileChooser a)
          このオブジェクトが扱う各 UI で getAcceptAllFileFilter メソッドを呼び出します。
 String MultiFileChooserUI.getApproveButtonText(JFileChooser a)
          このオブジェクトが扱う各 UI で getApproveButtonText メソッドを呼び出します。
 String MultiFileChooserUI.getDialogTitle(JFileChooser a)
          このオブジェクトが扱う各 UI で getDialogTitle メソッドを呼び出します。
 FileView MultiFileChooserUI.getFileView(JFileChooser a)
          このオブジェクトが扱う各 UI で getFileView メソッドを呼び出します。
 void MultiFileChooserUI.rescanCurrentDirectory(JFileChooser a)
          このオブジェクトが扱う各 UI で rescanCurrentDirectory メソッドを呼び出します。
 


JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。