org.netbeans.lib.cvsclient.event
Class CVSEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.netbeans.lib.cvsclient.event.CVSEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BinaryMessageEvent, FileAddedEvent, FileInfoEvent, FileRemovedEvent, FileToRemoveEvent, FileUpdatedEvent, MessageEvent, ModuleExpansionEvent, TerminationEvent

public abstract class CVSEvent
extends java.util.EventObject

The base class of all events that are generated by the CVS library. Specialisations of this class give more details about the event.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CVSEvent(java.lang.Object source)
          Construct a CVS event.
 
Method Summary
protected abstract  void fireEvent(CVSListener listener)
          Fire the event to the event listener.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CVSEvent

public CVSEvent(java.lang.Object source)
Construct a CVS event.

Parameters:
source - the object that is logically the source of the event
Method Detail

fireEvent

protected abstract void fireEvent(CVSListener listener)
Fire the event to the event listener. Subclasses should call the appropriate method on the listener to dispatch this event.

Parameters:
listener - the event listener

 

Built on August 7 2008.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.