net.sf.latexdraw.filters
Class PNGFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by net.sf.latexdraw.filters.PNGFilter

public class PNGFilter
extends javax.swing.filechooser.FileFilter

This class defines a filter for png files (*.png)

This file is part of LaTeXDraw
Copyright (c) 2005-2012 Arnaud BLOUIN

LaTeXDraw 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; either version 2 of the License, or (at your option) any later version.

LaTeXDraw is distributed 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.

05/24/10

Version:
3.0
Author:
Arnaud BLOUIN

Field Summary
static java.lang.String PNG_EXTENSION
          The name of the extension of png file
 
Constructor Summary
PNGFilter()
           
 
Method Summary
 boolean accept(java.io.File file)
           
 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PNG_EXTENSION

public static final java.lang.String PNG_EXTENSION
The name of the extension of png file

See Also:
Constant Field Values
Constructor Detail

PNGFilter

public PNGFilter()
Method Detail

accept

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

getDescription

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