com.melloware.jukes.file.filter
Class ImageFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by com.melloware.jukes.file.filter.ImageFilter

public final class ImageFilter
extends FileFilter

Filters for image files in JFileChooser. Such as .jpg and .gif files.

Copyright (c) 1999-2007 Melloware, Inc.

Version:
4.0
Author:
Emil A. Lefkof III

Field Summary
static String[] EXTENSIONS
           
static String GIF
           
static String JPEG
           
static String JPG
           
static String PNG
           
static String TIF
           
static String TIFF
           
 
Constructor Summary
ImageFilter()
          Default Constuctor
 
Method Summary
 boolean accept(File aFile)
          Accept all music files such as .png.
 String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JPEG

public static final String JPEG
See Also:
Constant Field Values

JPG

public static final String JPG
See Also:
Constant Field Values

GIF

public static final String GIF
See Also:
Constant Field Values

TIFF

public static final String TIFF
See Also:
Constant Field Values

TIF

public static final String TIF
See Also:
Constant Field Values

PNG

public static final String PNG
See Also:
Constant Field Values

EXTENSIONS

public static final String[] EXTENSIONS
Constructor Detail

ImageFilter

public ImageFilter()
Default Constuctor

Method Detail

getDescription

public String getDescription()
Specified by:
getDescription in class FileFilter

accept

public boolean accept(File aFile)
Accept all music files such as .png.

Specified by:
accept in class FileFilter
See Also:
FileFilter.accept(java.io.File)


Copyright © 1999-2010 Melloware Inc. All Rights Reserved.