|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.alee.extended.tree.FileTreeNodeFilter
public class FileTreeNodeFilter
Custom filter for file tree nodes.
Field Summary | |
---|---|
protected Filter<java.io.File> |
filter
Used file filter. |
Constructor Summary | |
---|---|
FileTreeNodeFilter()
Constructs new FileTreeNodeFilter with default file filter. |
|
FileTreeNodeFilter(Filter<java.io.File> filter)
Constructs new FileTreeNodeFilter using the specified file filter. |
Method Summary | |
---|---|
boolean |
accept(FileTreeNode object)
Returns whether the specified object is accepted by this filter or not. |
Filter<java.io.File> |
getFilter()
Returns used file filter. |
void |
setFilter(Filter<java.io.File> filter)
Sets used file filter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Filter<java.io.File> filter
Constructor Detail |
---|
public FileTreeNodeFilter()
public FileTreeNodeFilter(Filter<java.io.File> filter)
filter
- file filterMethod Detail |
---|
public Filter<java.io.File> getFilter()
public void setFilter(Filter<java.io.File> filter)
filter
- used file filterpublic boolean accept(FileTreeNode object)
accept
in interface Filter<FileTreeNode>
object
- object to process
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |