net.sf.latexdraw.filters
Class JPGFilter
java.lang.Object
javax.swing.filechooser.FileFilter
net.sf.latexdraw.filters.JPGFilter
public class JPGFilter
- extends javax.swing.filechooser.FileFilter
This class defines a filter for jpg files (*.jpg)
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 |
JPG_EXTENSION
The name of the extension of jpg file |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPG_EXTENSION
public static final java.lang.String JPG_EXTENSION
- The name of the extension of jpg file
- See Also:
- Constant Field Values
JPGFilter
public JPGFilter()
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