Package bluej.extensions2.event
Interface ClassListener
- 
public interface ClassListenerThis interface allows an extension to listen for class events.Events type are one of the
ClassEvent.EventTypevalues.- Author:
 - Davin McCall
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclassNameChanged(ClassEvent event)This method will be called when a class has been renamed.voidclassRemoved(ClassEvent event)This method will be called when a class has been removed.voidclassStateChanged(ClassEvent event)This method will be called when a class state changed. 
 - 
 
- 
- 
Method Detail
- 
classStateChanged
void classStateChanged(ClassEvent event)
This method will be called when a class state changed. This means that the class source was changed so that the class is now uncompiled, or the class was compiled, or the class was renamed. If a long operation must be performed the extension should start a Thread.- Parameters:
 event- aClassEventobject of typeClassEvent.EventType.STATE_CHANGED.
 
- 
classNameChanged
void classNameChanged(ClassEvent event)
This method will be called when a class has been renamed. If a long operation must be performed the extension should start a Thread.- Parameters:
 event- aClassEventobject of typeClassEvent.EventType.CHANGED_NAME.
 
- 
classRemoved
void classRemoved(ClassEvent event)
This method will be called when a class has been removed. The removed class can be acquired from the passed inClassEventobject. If a long operation must be performed the extension should start a Thread.- Parameters:
 event- aClassEventobject of typeClassEvent.EventType.REMOVED.
 
 - 
 
 -