org.netbeans.lib.cvsclient.event
Class FileToRemoveEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.netbeans.lib.cvsclient.event.CVSEvent
          extended by org.netbeans.lib.cvsclient.event.FileToRemoveEvent
All Implemented Interfaces:
java.io.Serializable

public class FileToRemoveEvent
extends CVSEvent

Indicates that a file is to be removed.

See Also:
Serialized Form

Field Summary
protected  java.lang.String path
          The path of the file that is going to be removed.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
FileToRemoveEvent(java.lang.Object source, java.lang.String path)
          Construct a FileRemovedEvent
 
Method Summary
protected  void fireEvent(CVSListener listener)
          Fire the event to the event listener.
 java.lang.String getFilePath()
          Get the path of the file that is going to be removed.
 
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
 

Field Detail

path

protected java.lang.String path
The path of the file that is going to be removed.

Constructor Detail

FileToRemoveEvent

public FileToRemoveEvent(java.lang.Object source,
                         java.lang.String path)
Construct a FileRemovedEvent

Parameters:
source - the source of the event
path - The path of the file that is going to be removed
Method Detail

getFilePath

public java.lang.String getFilePath()
Get the path of the file that is going to be removed.


fireEvent

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

Specified by:
fireEvent in class CVSEvent
Parameters:
listener - the event listener

 

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