|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.filechooser.FileFilter
edu.rice.cs.drjava.ui.DirectoryFilter
public class DirectoryFilter
A file filter for selecting directories.
| Field Summary | |
|---|---|
private String |
_description
Name of the filter. |
| Constructor Summary | |
|---|---|
DirectoryFilter()
Creates a new directory filter named "Directories". |
|
DirectoryFilter(String description)
Creates a new directory filter with the given description. |
|
| Method Summary | |
|---|---|
boolean |
accept(File f)
Returns true if the file is a directory. |
String |
getDescription()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private String _description
| Constructor Detail |
|---|
public DirectoryFilter()
public DirectoryFilter(String description)
description - Name of the filter| Method Detail |
|---|
public boolean accept(File f)
accept in class FileFilterpublic String getDescription()
getDescription in class FileFilter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||