de.saar.chorus.ubench.gui
Class CommandListener.PDFView

Object
  extended by FileView
      extended by CommandListener.PDFView
Enclosing class:
CommandListener

public class CommandListener.PDFView
extends FileView

A FileView that shows PDF-Files.

Author:
Michaela Regneri

Constructor Summary
CommandListener.PDFView()
           
 
Method Summary
 String getDescription(File f)
          Overwrites the getDescription method of FileView.
 
Methods inherited from class FileView
getIcon, getName, getTypeDescription, isTraversable
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandListener.PDFView

public CommandListener.PDFView()
Method Detail

getDescription

public String getDescription(File f)
Overwrites the getDescription method of FileView.

Overrides:
getDescription in class FileView
Returns:
"PDF-file" if there is a pdf-file, otherwise the standard-description