|
ehsbe CommonsTM Version 1.1.0rc3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.filechooser.FileView
com.ehsbe.commons.gui.ImageFileView
public class ImageFileView
Simple class to get the appropriate icon and description for a given file.
| Constructor Summary | |
|---|---|
ImageFileView(Locale locale)
Default constructor. |
|
| Method Summary | |
|---|---|
String |
getDescription(File f)
|
Icon |
getIcon(File f)
|
String |
getName(File f)
|
Set<String> |
getSupportedExtension()
Get all extensions supported by this viewer. |
String |
getTypeDescription(File f)
|
Boolean |
isTraversable(File f)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImageFileView(Locale locale)
locale - locale to use for i18n| Method Detail |
|---|
public Set<String> getSupportedExtension()
public String getName(File f)
getName in class FileViewpublic String getDescription(File f)
getDescription in class FileViewpublic Boolean isTraversable(File f)
isTraversable in class FileViewpublic String getTypeDescription(File f)
getTypeDescription in class FileViewpublic Icon getIcon(File f)
getIcon in class FileView
|
ehsbe CommonsTM Version 1.1.0rc3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||