|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Determine whether files should be hidden in views presented to the user.
Global lookup is used to find all instances of VisibilityQueryImplementation.
Threading note: implementors should avoid acquiring locks that might be held
by other threads. Generally treat this interface similarly to SPIs in
org.openide.filesystems
with respect to threading semantics.
VisibilityQuery
Method Summary | |
void |
addChangeListener(ChangeListener l)
Add a listener to changes. |
boolean |
isVisible(FileObject file)
Check whether a file is recommended to be visible. |
void |
removeChangeListener(ChangeListener l)
Stop listening to changes. |
Method Detail |
public boolean isVisible(FileObject file)
file
- a file to considered
public void addChangeListener(ChangeListener l)
l
- a listener to addpublic void removeChangeListener(ChangeListener l)
l
- a listener to remove
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |