org.netbeans.lib.cvsclient.event
Class FileInfoEvent

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

public class FileInfoEvent
extends CVSEvent

This event is created when file information is received from the server.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
FileInfoEvent(java.lang.Object source, FileInfoContainer infoContainer)
          Construct a FileInfoEvent
 
Method Summary
protected  void fireEvent(CVSListener listener)
          Fire the event to the event listener.
 FileInfoContainer getInfoContainer()
          Get the information in this event
 
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

FileInfoEvent

public FileInfoEvent(java.lang.Object source,
                     FileInfoContainer infoContainer)
Construct a FileInfoEvent

Parameters:
source - the source of the event
message - the message text
isError - true if the message is an error message (i.e. intended for stderr rather than stdout), false otherwise
Method Detail

getInfoContainer

public FileInfoContainer getInfoContainer()
Get the information in this event

Returns:
the information object describing a file's info received from the server

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.