@Deprecated public static class WeakListener.FileChange extends WeakListener implements FileChangeListener
WeakListener.Change, WeakListener.Document, WeakListener.FileChange, WeakListener.FileStatus, WeakListener.Focus, WeakListener.Node, WeakListener.PropertyChange, WeakListener.Repository, WeakListener.VetoableChange
Constructor and Description |
---|
FileChange(FileChangeListener l)
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
fileAttributeChanged(FileAttributeEvent ev)
Deprecated.
Fired when a file attribute has been changed.
|
void |
fileChanged(FileEvent ev)
Deprecated.
Fired when a file has been changed.
|
void |
fileDataCreated(FileEvent ev)
Deprecated.
Fired when a new file has been created.
|
void |
fileDeleted(FileEvent ev)
Deprecated.
Fired when a file has been deleted.
|
void |
fileFolderCreated(FileEvent ev)
Deprecated.
Fired when a new folder has been created.
|
void |
fileRenamed(FileRenameEvent ev)
Deprecated.
Fired when a file has been renamed.
|
protected String |
removeMethodName()
Deprecated.
Method name to use for removing the listener.
|
change, create, document, fileChange, fileStatus, focus, get, node, propertyChange, repository, setSource, toString, vetoableChange
public FileChange(FileChangeListener l)
l
- listener to delegate topublic void fileFolderCreated(FileEvent ev)
fileFolderCreated
in interface FileChangeListener
ev
- the event describing context where action has taken placepublic void fileDataCreated(FileEvent ev)
fileDataCreated
in interface FileChangeListener
ev
- the event describing context where action has taken placepublic void fileChanged(FileEvent ev)
fileChanged
in interface FileChangeListener
ev
- the event describing context where action has taken placepublic void fileDeleted(FileEvent ev)
fileDeleted
in interface FileChangeListener
ev
- the event describing context where action has taken placepublic void fileRenamed(FileRenameEvent ev)
fileRenamed
in interface FileChangeListener
ev
- the event describing context where action has taken place
and the original name and extension.public void fileAttributeChanged(FileAttributeEvent ev)
fileAttributeChanged
in interface FileChangeListener
ev
- the event describing context where action has taken place,
the name of attribute and old and new value.protected String removeMethodName()
removeMethodName
in class WeakListener