站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

WeakListener.FileChange (NetBeans APIs) - NetBeans API Javadoc 4.1.0


org.openide.util
Class WeakListener.FileChange

java.lang.Object
  extended byorg.openide.util.WeakListener
      extended byorg.openide.util.WeakListener.FileChange
All Implemented Interfaces:
EventListener, FileChangeListener
Enclosing class:
WeakListener

Deprecated. use appropriate method instead

public static class WeakListener.FileChange
extends WeakListener
implements FileChangeListener

Weak file change listener.


Nested Class Summary
 
Nested classes inherited from class org.openide.util.WeakListener
WeakListener.Change, WeakListener.Document, WeakListener.FileChange, WeakListener.FileStatus, WeakListener.Focus, WeakListener.Node, WeakListener.PropertyChange, WeakListener.Repository, WeakListener.VetoableChange
 
Constructor Summary
WeakListener.FileChange(FileChangeListener l)
          Deprecated. Constructor.
 
Method Summary
 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.
 
Methods inherited from class org.openide.util.WeakListener
change, create, document, fileChange, fileStatus, focus, get, node, propertyChange, repository, setSource, toString, vetoableChange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WeakListener.FileChange

public WeakListener.FileChange(FileChangeListener l)
Deprecated. 
Constructor.

Parameters:
l - listener to delegate to
Method Detail

fileFolderCreated

public void fileFolderCreated(FileEvent ev)
Deprecated. 
Fired when a new folder has been created. This action can only be listened in folders containing the created file up to the root of file system.

Specified by:
fileFolderCreated in interface FileChangeListener
Parameters:
ev - the event describing context where action has taken place

fileDataCreated

public void fileDataCreated(FileEvent ev)
Deprecated. 
Fired when a new file has been created. This action can only be listened in folders containing the created file up to the root of file system.

Specified by:
fileDataCreated in interface FileChangeListener
Parameters:
ev - the event describing context where action has taken place

fileChanged

public void fileChanged(FileEvent ev)
Deprecated. 
Fired when a file has been changed.

Specified by:
fileChanged in interface FileChangeListener
Parameters:
ev - the event describing context where action has taken place

fileDeleted

public void fileDeleted(FileEvent ev)
Deprecated. 
Fired when a file has been deleted.

Specified by:
fileDeleted in interface FileChangeListener
Parameters:
ev - the event describing context where action has taken place

fileRenamed

public void fileRenamed(FileRenameEvent ev)
Deprecated. 
Fired when a file has been renamed.

Specified by:
fileRenamed in interface FileChangeListener
Parameters:
ev - the event describing context where action has taken place and the original name and extension.

fileAttributeChanged

public void fileAttributeChanged(FileAttributeEvent ev)
Deprecated. 
Fired when a file attribute has been changed.

Specified by:
fileAttributeChanged in interface FileChangeListener
Parameters:
ev - the event describing context where action has taken place, the name of attribute and old and new value.

removeMethodName

protected String removeMethodName()
Deprecated. 
Method name to use for removing the listener.

Specified by:
removeMethodName in class WeakListener
Returns:
name of method of the source object that should be used to remove the listener from listening on source of events


Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.