uic.widgets.filechooser
Class FilePreviewImage
java.lang.Object
  
uic.widgets.filechooser.FilePreviewImage
- All Implemented Interfaces: 
 - FilePreviewInterface
 
public class FilePreviewImage
- extends Object
- implements FilePreviewInterface
  
 
| 
Method Summary | 
static double | 
getScale(int imageWidth,
         int imageHeight,
         int destWidth,
         int destHeight)
 
            | 
 void | 
preview(File file,
        Graphics g,
        Component component,
        int x,
        int y,
        int width,
        int height)
 
            | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
FilePreviewImage
public FilePreviewImage()
preview
public void preview(File file,
                    Graphics g,
                    Component component,
                    int x,
                    int y,
                    int width,
                    int height)
- Specified by:
 preview in interface FilePreviewInterface
 
 
getScale
public static double getScale(int imageWidth,
                              int imageHeight,
                              int destWidth,
                              int destHeight)
 
 
Copyright © 2002-2004 Thomas Zander Available under the Free Apache licence