TrueZIP File* 7.0

de.schlichtherle.truezip.file.swing
Class TDecoratingFileView

java.lang.Object
  extended by javax.swing.filechooser.FileView
      extended by de.schlichtherle.truezip.file.swing.TDecoratingFileView
Direct Known Subclasses:
TFileView

@DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class)
public abstract class TDecoratingFileView
extends FileView

A decorator for a file view.

Author:
Christian Schlichtherle

Field Summary
protected  FileView delegate
          The decorated file view.
 
Constructor Summary
protected TDecoratingFileView(FileView fileView)
          Constructs a new decorating file view.
 
Method Summary
 String getDescription(File f)
           
 Icon getIcon(File f)
           
 String getName(File f)
           
 String getTypeDescription(File f)
           
 Boolean isTraversable(File f)
           
 String toString()
          Returns a string representation of this object for debugging and logging purposes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

delegate

protected final FileView delegate
The decorated file view.

Constructor Detail

TDecoratingFileView

protected TDecoratingFileView(FileView fileView)
Constructs a new decorating file view.

Parameters:
fileView - The file view to decorate.
Method Detail

getName

@Nullable
public String getName(File f)
Overrides:
getName in class FileView

getDescription

@Nullable
public String getDescription(File f)
Overrides:
getDescription in class FileView

getTypeDescription

@Nullable
public String getTypeDescription(File f)
Overrides:
getTypeDescription in class FileView

getIcon

@Nullable
public Icon getIcon(File f)
Overrides:
getIcon in class FileView

isTraversable

@Nullable
public Boolean isTraversable(File f)
Overrides:
isTraversable in class FileView

toString

public String toString()
Returns a string representation of this object for debugging and logging purposes.

Overrides:
toString in class Object

TrueZIP File* 7.0

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.