gui.utils
Class PngFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by gui.utils.PngFileFilter

public class PngFileFilter
extends javax.swing.filechooser.FileFilter

Filtr pro soubory .png.


Constructor Summary
PngFileFilter()
          Vytvori filtr na souboru .png.
 
Method Summary
 boolean accept(java.io.File file)
          Vraci tru pro .png soubory.
 java.lang.String getDescription()
          Returns the human readable description of this filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PngFileFilter

public PngFileFilter()
Vytvori filtr na souboru .png.

Method Detail

accept

public boolean accept(java.io.File file)
Vraci tru pro .png soubory.

Specified by:
accept in class javax.swing.filechooser.FileFilter
Parameters:
file - soubor
Returns:
true kdyz soubor konci na .png

getDescription

public java.lang.String getDescription()
Returns the human readable description of this filter.

Specified by:
getDescription in class javax.swing.filechooser.FileFilter
Returns:
popisek filtru