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

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


org.openide.util
Class WeakListener.Repository

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

Deprecated. use appropriate method instead

public static class WeakListener.Repository
extends WeakListener
implements RepositoryListener

Weak file system pool 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.Repository(RepositoryListener l)
          Deprecated. Constructor.
 
Method Summary
 void fileSystemAdded(RepositoryEvent ev)
          Deprecated. Called when new file system is added to the pool.
 void fileSystemPoolReordered(RepositoryReorderedEvent ev)
          Deprecated. Called when a Repository is reordered.
 void fileSystemRemoved(RepositoryEvent ev)
          Deprecated. Called when a file system is deleted from the pool.
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.Repository

public WeakListener.Repository(RepositoryListener l)
Deprecated. 
Constructor.

Parameters:
l - listener to delegate to
Method Detail

fileSystemAdded

public void fileSystemAdded(RepositoryEvent ev)
Deprecated. 
Called when new file system is added to the pool.

Specified by:
fileSystemAdded in interface RepositoryListener
Parameters:
ev - event describing the action

fileSystemRemoved

public void fileSystemRemoved(RepositoryEvent ev)
Deprecated. 
Called when a file system is deleted from the pool.

Specified by:
fileSystemRemoved in interface RepositoryListener
Parameters:
ev - event describing the action

fileSystemPoolReordered

public void fileSystemPoolReordered(RepositoryReorderedEvent ev)
Deprecated. 
Called when a Repository is reordered.

Specified by:
fileSystemPoolReordered in interface RepositoryListener

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.