|
org.openide.filesystems 6.4.31 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject org.openide.filesystems.FileStatusEvent
public final class FileStatusEvent
Event describing a change in annotation of files.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
FileStatusEvent(FileSystem fs,
boolean icon,
boolean name)
Creates new FileStatusEvent. |
|
FileStatusEvent(FileSystem fs,
FileObject file,
boolean icon,
boolean name)
Creates new FileStatusEvent |
|
FileStatusEvent(FileSystem fs,
Set files,
boolean icon,
boolean name)
Creates new FileStatusEvent |
Method Summary | |
---|---|
FileSystem |
getFileSystem()
Getter for filesystem that caused the change. |
boolean |
hasChanged(FileObject file)
Check whether the given file has been changed. |
boolean |
isIconChange()
Do the files changed their icons? |
boolean |
isNameChange()
Is the change change of name? |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FileStatusEvent(FileSystem fs, Set files, boolean icon, boolean name)
fs
- filesystem that causes the eventfiles
- set of FileObjects that has been changedicon
- has icon changed?name
- has name changed?public FileStatusEvent(FileSystem fs, FileObject file, boolean icon, boolean name)
fs
- filesystem that causes the eventfile
- file object that has been changedicon
- has icon changed?name
- has name changed?public FileStatusEvent(FileSystem fs, boolean icon, boolean name)
fs
- filesystem that causes the eventicon
- has icon changed?name
- has name changed?Method Detail |
---|
public FileSystem getFileSystem()
public boolean isNameChange()
public boolean isIconChange()
public boolean hasChanged(FileObject file)
file
- file to check
|
org.openide.filesystems 6.4.31 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |