Ptah
Class ImageFileView
java.lang.Object
|
+--javax.swing.filechooser.FileView
|
+--Ptah.ImageFileView
- public class ImageFileView
- extends javax.swing.filechooser.FileView
Ptah File chooser and previewer.
Based on Sun tutorial. See
Using Swing Components: Examples.
Copyright (c) 2000-2001 Alexis Grandemange
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; version 2
of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
I included a copy of the GNU Lesser General Public License lesser.txt
in this directory.
alexis.grandemange@pagebox.net
- Version:
- 0, 0, 1
- Author:
- Alexis Grandemange
|
Field Summary |
(package private) javax.swing.ImageIcon |
gifIcon
|
(package private) javax.swing.ImageIcon |
jpgIcon
|
(package private) javax.swing.ImageIcon |
tiffIcon
|
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
jpgIcon
javax.swing.ImageIcon jpgIcon
gifIcon
javax.swing.ImageIcon gifIcon
tiffIcon
javax.swing.ImageIcon tiffIcon
ImageFileView
public ImageFileView()
getName
public java.lang.String getName(java.io.File f)
- Overrides:
- getName in class javax.swing.filechooser.FileView
getDescription
public java.lang.String getDescription(java.io.File f)
- Overrides:
- getDescription in class javax.swing.filechooser.FileView
isTraversable
public java.lang.Boolean isTraversable(java.io.File f)
- Overrides:
- isTraversable in class javax.swing.filechooser.FileView
getTypeDescription
public java.lang.String getTypeDescription(java.io.File f)
- Overrides:
- getTypeDescription in class javax.swing.filechooser.FileView
getIcon
public javax.swing.Icon getIcon(java.io.File f)
- Overrides:
- getIcon in class javax.swing.filechooser.FileView