org.netbeans.modules.java.source 0.80.1 17

org.netbeans.api.java.source
Interface ClassIndexListener

All Superinterfaces:
EventListener

public interface ClassIndexListener
extends EventListener

Listener for changes in ClassIndex.

When attached to a {ClassIndex} it listens for addition, removal and modification of declared types.

See Also:
ClassIndex.addClassIndexListener(org.netbeans.api.java.source.ClassIndexListener)

Method Summary
 void rootsAdded(RootsEvent event)
          Called when new roots are added into the ClassPath for which the ClassIndex was created.
 void rootsRemoved(RootsEvent event)
          Called when root are removed from the ClassPath for which the ClassIndex was created.
 void typesAdded(TypesEvent event)
          Called when the new declared types are added into the ClassIndex
 void typesChanged(TypesEvent event)
          Called when some declared types are changed.
 void typesRemoved(TypesEvent event)
          Called when declared types are removed from the ClassIndex
 

Method Detail

typesAdded

void typesAdded(TypesEvent event)
Called when the new declared types are added into the ClassIndex

Parameters:
event - specifying the added types

typesRemoved

void typesRemoved(TypesEvent event)
Called when declared types are removed from the ClassIndex

Parameters:
event - specifying the removed types

typesChanged

void typesChanged(TypesEvent event)
Called when some declared types are changed.

Parameters:
event - specifying the changed types

rootsAdded

void rootsAdded(RootsEvent event)
Called when new roots are added into the ClassPath for which the ClassIndex was created.

Parameters:
event - specifying the added roots

rootsRemoved

void rootsRemoved(RootsEvent event)
Called when root are removed from the ClassPath for which the ClassIndex was created.

Parameters:
event - specifying the removed roots

org.netbeans.modules.java.source 0.80.1 17

Built on December 5 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.