|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjavax.swing.filechooser.FileView
javax.swing.plaf.basic.BasicFileChooserUI.BasicFileView
protected class BasicFileChooserUI.BasicFileView
| フィールドの概要 | |
|---|---|
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 |
| フィールドの詳細 |
|---|
protected Hashtable<File,Icon> iconCache
| コンストラクタの詳細 |
|---|
public BasicFileChooserUI.BasicFileView()
| メソッドの詳細 |
|---|
public void clearIconCache()
public String getName(File f)
FileView の記述:f.getName() になります。
FileView 内の getNamepublic String getDescription(File f)
FileView の記述:
FileView 内の getDescriptionpublic String getTypeDescription(File f)
FileView の記述:jpg ファイルの種類の説明は「JPEG 圧縮イメージファイル」のようになります。
FileView 内の getTypeDescriptionpublic Icon getCachedIcon(File f)
public void cacheIcon(File f,
Icon i)
public Icon getIcon(File f)
FileView の記述:JFileChooser でこのファイルを表すアイコンです。
FileView 内の getIconpublic Boolean isHidden(File f)
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。