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 javax.swing.filechooser.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 java.lang.String[] EXTENSIONS
           
static java.lang.String GIF
           
static java.lang.String JPEG
           
static java.lang.String JPG
           
static java.lang.String PNG
           
static java.lang.String TIF
           
static java.lang.String TIFF
           
 
Constructor Summary
ImageFilter()
          Default Constuctor
 
Method Summary
 boolean accept(java.io.File aFile)
          Accept all music files such as .png.
 java.lang.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 java.lang.String JPEG
See Also:
Constant Field Values

JPG

public static final java.lang.String JPG
See Also:
Constant Field Values

GIF

public static final java.lang.String GIF
See Also:
Constant Field Values

TIFF

public static final java.lang.String TIFF
See Also:
Constant Field Values

TIF

public static final java.lang.String TIF
See Also:
Constant Field Values

PNG

public static final java.lang.String PNG
See Also:
Constant Field Values

EXTENSIONS

public static final java.lang.String[] EXTENSIONS
Constructor Detail

ImageFilter

public ImageFilter()
Default Constuctor

Method Detail

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in class javax.swing.filechooser.FileFilter

accept

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

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


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