クラス
javax.swing.JFileChooserの使用
JFileChooserを使用するパッケージ
パッケージ
説明
1つのインタフェースおよび多くのabstractクラスを提供しており、Swingはプラグイン可能なLook & Feel機能を提供するためにこれらを利用します。
基本Look & Feelに従って構築されたユーザー・インタフェース・オブジェクトを提供します。
デフォルトのLook & FeelであるJava Look & Feel (以前のコード名はMetal)に従って構築されたユーザー・インタフェース・オブジェクトを提供します。
複数のLook & Feelを結合するユーザー・インタフェース・オブジェクトを提供します。
-
javax.swing.plafでのJFileChooserの使用
型JFileChooserのパラメータを持つjavax.swing.plafのメソッド修飾子と型メソッド説明abstract voidFileChooserUI.ensureFileIsVisible(JFileChooser fc, File f)問題のファイルが表示されていることを確認します。abstract FileFilterFileChooserUI.getAcceptAllFileFilter(JFileChooser fc)accept-allファイル・フィルタを返します。abstract StringFileChooserUI.getApproveButtonText(JFileChooser fc)ボタン・テキストの承認を返します。FileChooserUI.getDefaultButton(JFileChooser fc)現在のLookAndFeelのデフォルトのボタンを返します。abstract StringFileChooserUI.getDialogTitle(JFileChooser fc)ダイアログのタイトルを返します。abstract FileViewFileChooserUI.getFileView(JFileChooser fc)ファイル・ビューを返します。abstract voidFileChooserUI.rescanCurrentDirectory(JFileChooser fc)現在のディレクトリを再スキャンします。 -
javax.swing.plaf.basicでのJFileChooserの使用
型JFileChooserのパラメータを持つjavax.swing.plaf.basicのメソッド修飾子と型メソッド説明protected MouseListenerBasicFileChooserUI.createDoubleClickListener(JFileChooser fc, JList<?> list)ダブルクリック・リスナーを作成します。BasicFileChooserUI.createListSelectionListener(JFileChooser fc)リスト選択リスナーを作成します。BasicFileChooserUI.createPropertyChangeListener(JFileChooser fc)プロパティ変更リスナーを作成します。voidBasicFileChooserUI.ensureFileIsVisible(JFileChooser fc, File f)問題のファイルが表示されていることを確認します。BasicFileChooserUI.getAcceptAllFileFilter(JFileChooser fc)デフォルトで認められるすべてのファイル・フィルタを返します。protected JButtonBasicFileChooserUI.getApproveButton(JFileChooser fc)承認ボタンを返します。intBasicFileChooserUI.getApproveButtonMnemonic(JFileChooser fc)承認ボタン・ニーモニックを返します。BasicFileChooserUI.getApproveButtonText(JFileChooser fc)ボタン・テキストの承認を返します。BasicFileChooserUI.getApproveButtonToolTipText(JFileChooser fc)承認ボタンのツールチップを返します。BasicFileChooserUI.getDialogTitle(JFileChooser fc)このダイアログのタイトルを返します。BasicFileChooserUI.getFileView(JFileChooser fc)voidBasicFileChooserUI.installComponents(JFileChooser fc)コンポーネントをインストールします。protected voidBasicFileChooserUI.installDefaults(JFileChooser fc)デフォルトをインストールします。protected voidBasicFileChooserUI.installIcons(JFileChooser fc)アイコンをインストールします。protected voidBasicFileChooserUI.installListeners(JFileChooser fc)リスナーをインストールします。protected voidBasicFileChooserUI.installStrings(JFileChooser fc)文字列をインストールします。voidBasicFileChooserUI.rescanCurrentDirectory(JFileChooser fc)現在のディレクトリを再スキャンします。voidBasicFileChooserUI.uninstallComponents(JFileChooser fc)コンポーネントをアンインストールします。protected voidBasicFileChooserUI.uninstallDefaults(JFileChooser fc)デフォルトをアンインストールします。protected voidBasicFileChooserUI.uninstallIcons(JFileChooser fc)アイコンをアンインストールします。protected voidBasicFileChooserUI.uninstallListeners(JFileChooser fc)リスナーをアンインストールします。protected voidBasicFileChooserUI.uninstallStrings(JFileChooser fc)文字列をアンインストールします。型JFileChooserのパラメータを持つjavax.swing.plaf.basicのコンストラクタ修飾子コンストラクタ説明BasicDirectoryModel(JFileChooser filechooser)BasicDirectoryModelの新しいインスタンスを構築します。BasicFileChooserUIを構築します。 -
javax.swing.plaf.metalでのJFileChooserの使用
型JFileChooserのパラメータを持つjavax.swing.plaf.metalのメソッド修飾子と型メソッド説明protected JPanelMetalFileChooserUI.createDetailsView(JFileChooser fc)詳細ビューを構築します。MetalFileChooserUI.createDirectoryComboBoxModel(JFileChooser fc)DirectoryComboBoxのDataModelの新しいインスタンスを構築します。protected JPanelMetalFileChooserUI.createList(JFileChooser fc)詳細ビューを構築します。MetalFileChooserUI.createListSelectionListener(JFileChooser fc)ファイルおよびディレクトリのリスト用の選択リスナーを作成します。型JFileChooserのパラメータを持つjavax.swing.plaf.metalのコンストラクタ -
javax.swing.plaf.multiでのJFileChooserの使用
型JFileChooserのパラメータを持つjavax.swing.plaf.multiのメソッド修飾子と型メソッド説明voidMultiFileChooserUI.ensureFileIsVisible(JFileChooser a, File b)このオブジェクトで処理されている各UIでensureFileIsVisibleメソッドを呼び出します。MultiFileChooserUI.getAcceptAllFileFilter(JFileChooser a)このオブジェクトで処理されている各UIでgetAcceptAllFileFilterメソッドを呼び出します。MultiFileChooserUI.getApproveButtonText(JFileChooser a)このオブジェクトで処理されている各UIでgetApproveButtonTextメソッドを呼び出します。MultiFileChooserUI.getDialogTitle(JFileChooser a)このオブジェクトで処理されている各UIでgetDialogTitleメソッドを呼び出します。MultiFileChooserUI.getFileView(JFileChooser a)このオブジェクトで処理されている各UIでgetFileViewメソッドを呼び出します。voidMultiFileChooserUI.rescanCurrentDirectory(JFileChooser a)このオブジェクトで処理されている各UIでrescanCurrentDirectoryメソッドを呼び出します。