JavaTM Platform
Standard Ed. 6

javax.swing.plaf.basic
クラス BasicFileChooserUI.BasicFileView

java.lang.Object
  上位を拡張 javax.swing.filechooser.FileView
      上位を拡張 javax.swing.plaf.basic.BasicFileChooserUI.BasicFileView
含まれているクラス:
BasicFileChooserUI

protected class BasicFileChooserUI.BasicFileView
extends FileView


フィールドの概要
protected  Hashtable<File,Icon> iconCache
           
 
コンストラクタの概要
BasicFileChooserUI.BasicFileView()
           
 
メソッドの概要
 void cacheIcon(File f, Icon i)
           
 void clearIconCache()
           
 Icon getCachedIcon(File f)
           
 String getDescription(File f)
          ユーザーが判別できる、ファイルの説明です。
 Icon getIcon(File f)
          JFileChooser でこのファイルを表すアイコンです。
 String getName(File f)
          ファイルの名前です。
 String getTypeDescription(File f)
          ユーザーが判別できる、ファイルの種類の説明です。
 Boolean isHidden(File f)
           
 
クラス javax.swing.filechooser.FileView から継承されたメソッド
isTraversable
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

iconCache

protected Hashtable<File,Icon> iconCache
コンストラクタの詳細

BasicFileChooserUI.BasicFileView

public BasicFileChooserUI.BasicFileView()
メソッドの詳細

clearIconCache

public void clearIconCache()

getName

public String getName(File f)
クラス FileView の記述:
ファイルの名前です。通常は単純に f.getName() になります。

オーバーライド:
クラス FileView 内の getName

getDescription

public String getDescription(File f)
クラス FileView の記述:
ユーザーが判別できる、ファイルの説明です。たとえば、jag.jpg というファイルの説明は「James Gosling の顔の JPEG イメージファイル」のようになります。

オーバーライド:
クラス FileView 内の getDescription

getTypeDescription

public String getTypeDescription(File f)
クラス FileView の記述:
ユーザーが判別できる、ファイルの種類の説明です。たとえば、jpg ファイルの種類の説明は「JPEG 圧縮イメージファイル」のようになります。

オーバーライド:
クラス FileView 内の getTypeDescription

getCachedIcon

public Icon getCachedIcon(File f)

cacheIcon

public void cacheIcon(File f,
                      Icon i)

getIcon

public Icon getIcon(File f)
クラス FileView の記述:
JFileChooser でこのファイルを表すアイコンです。

オーバーライド:
クラス FileView 内の getIcon

isHidden

public Boolean isHidden(File f)

JavaTM Platform
Standard Ed. 6

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

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