|
TrueZIP 6.8.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.filechooser.FileView
de.schlichtherle.io.swing.FilterFileView
abstract class FilterFileView
An abstract decorator which simply delegates to another instance of
FileView.
If the delegate is null, all methods in this class return
null.
Subclasses should override individual methods to implement some specific
behaviour.
Note that this class does not override any methods in Object
- this should be done in subclasses.
| Field Summary | |
|---|---|
private FileView |
delegate
The file view to be decorated - may be null. |
| Constructor Summary | |
|---|---|
protected |
FilterFileView(FileView delegate)
Constructs a new decorating file view. |
| Method Summary | |
|---|---|
FileView |
getDelegate()
Returns the file view to be decorated - may be null. |
String |
getDescription(File f)
|
Icon |
getIcon(File f)
|
String |
getName(File f)
|
String |
getTypeDescription(File f)
|
Boolean |
isTraversable(File f)
|
void |
setDelegate(FileView delegate)
Sets the file view to be decorated - may be null. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private FileView delegate
null.
| Constructor Detail |
|---|
protected FilterFileView(FileView delegate)
delegate - The file view to be decorated - may be null.| Method Detail |
|---|
public FileView getDelegate()
null.
public void setDelegate(FileView delegate)
null.
IllegalArgumentException - If delegate is this
instance.public String getDescription(File f)
getDescription in class FileViewpublic Icon getIcon(File f)
getIcon in class FileViewpublic String getName(File f)
getName in class FileViewpublic String getTypeDescription(File f)
getTypeDescription in class FileViewpublic Boolean isTraversable(File f)
isTraversable in class FileView
|
TrueZIP 6.8.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||