VisibilityQueryImplementation2public interface VisibilityQueryImplementation
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| Modifier and Type | Method | Description |
|---|---|---|
void |
addChangeListener(javax.swing.event.ChangeListener l) |
Add a listener to changes.
|
boolean |
isVisible(org.openide.filesystems.FileObject file) |
Check whether a file is recommended to be visible.
|
void |
removeChangeListener(javax.swing.event.ChangeListener l) |
Stop listening to changes.
|
boolean isVisible(org.openide.filesystems.FileObject file)
file - a file to consideredvoid addChangeListener(javax.swing.event.ChangeListener l)
l - a listener to addvoid removeChangeListener(javax.swing.event.ChangeListener l)
l - a listener to removeBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.