|
org.netbeans.modules.queries/1 1.7.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.netbeans.api.queries.VisibilityQuery
public final class VisibilityQuery
Determine whether files should be hidden in views presented to the user.
This query should be considered only as a recommendation. Particular views may decide to display all files and ignore this query.
VisibilityQueryImplementation
Method Summary | |
---|---|
void |
addChangeListener(ChangeListener l)
Add a listener to changes. |
static VisibilityQuery |
getDefault()
Get default instance of VisibilityQuery. |
boolean |
isVisible(FileObject file)
Check whether a file is recommended to be visible. |
void |
removeChangeListener(ChangeListener l)
Stop listening to changes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final VisibilityQuery getDefault()
public boolean isVisible(FileObject file)
file
- a file which should be checked
public void addChangeListener(ChangeListener l)
l
- a listener to addpublic void removeChangeListener(ChangeListener l)
l
- a listener to remove
|
org.netbeans.modules.queries/1 1.7.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |