ElegantJCharts Java API Specification v2.0

com.elegantj.graphx
Class ImageFileFilter

java.lang.Object
  |
  +--javax.swing.filechooser.FileFilter
        |
        +--com.elegantj.graphx.ImageFileFilter

public class ImageFileFilter
extends javax.swing.filechooser.FileFilter

ImageFileFilter class is used to filter the files into directory and alow only the image files. i.e. .jpg, .jpeg, .gif , .tiff , .tif , .png and A convenience implementation of FileFilter that filters out all files except for those type extensions that it knows about. like jpg, jpeg, png


Constructor Summary
ImageFileFilter()
           
 
Method Summary
 boolean accept(java.io.File f)
           
 java.lang.String getDescription()
           
 java.lang.String getExtension(java.io.File f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageFileFilter

public ImageFileFilter()
Method Detail

accept

public boolean accept(java.io.File f)
Specified by:
accept in class javax.swing.filechooser.FileFilter

getDescription

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

getExtension

public java.lang.String getExtension(java.io.File f)

ElegantJCharts Java API Specification v2.0

For any feedback, suggestion, or query, please revert back to support@elegantcharts.com

Copyright(c)
Elegant Microweb Technologies Pvt. Ltd.
www.elegantmicroweb.com
www.elegantjcharts.com
All Rights Reserved.