org.netbeans.lib.cvsclient.event
Class EnhancedMessageEvent

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

public class EnhancedMessageEvent
extends MessageEvent

An event sent from the server to indicate that a message should be displayed to the user

See Also:
Serialized Form

Field Summary
static java.lang.String FILE_SENDING
          Sent when a file was successfully sent to server.
static java.lang.String MERGED_PATH
          Sent by MergedResponse when 2 files were merged.
static java.lang.String REQUESTS_COUNT
          Sent before all request are processed.
static java.lang.String REQUESTS_SENT
          Sent when a all requests were sent to server.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
EnhancedMessageEvent(java.lang.Object source, java.lang.String key, java.lang.Object value)
          Construct a MessageEvent
 
Method Summary
 java.lang.String getKey()
          Getter for property key.
 java.lang.Object getValue()
          Getter for property value.
 void setKey(java.lang.String key)
          Setter for property key.
 void setValue(java.lang.Object value)
          Setter for property value.
 
Methods inherited from class org.netbeans.lib.cvsclient.event.MessageEvent
fireEvent, getMessage, getRawData, isError, isTagged, parseTaggedMessage, setError, setMessage, setTagged
 
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

MERGED_PATH

public static final java.lang.String MERGED_PATH
Sent by MergedResponse when 2 files were merged. The value is a String instance that tells the full path to the file.

See Also:
Constant Field Values

FILE_SENDING

public static final java.lang.String FILE_SENDING
Sent when a file was successfully sent to server.

See Also:
Constant Field Values

REQUESTS_SENT

public static final java.lang.String REQUESTS_SENT
Sent when a all requests were sent to server. Value is a String with value of "ok".

See Also:
Constant Field Values

REQUESTS_COUNT

public static final java.lang.String REQUESTS_COUNT
Sent before all request are processed. Value is an Integer object.

See Also:
Constant Field Values
Constructor Detail

EnhancedMessageEvent

public EnhancedMessageEvent(java.lang.Object source,
                            java.lang.String key,
                            java.lang.Object value)
Construct a MessageEvent

Parameters:
source - the source of the event
key - identifier. Specifies what the value object is.
value. - Some value passed to the listeners. The key parameter helps the listeners to identify the value and handle it correctly. for stderr rather than stdout), false otherwise
Method Detail

getKey

public java.lang.String getKey()
Getter for property key.

Returns:
Value of property key.

setKey

public void setKey(java.lang.String key)
Setter for property key.

Parameters:
key - New value of property key.

getValue

public java.lang.Object getValue()
Getter for property value.

Returns:
Value of property value.

setValue

public void setValue(java.lang.Object value)
Setter for property value.

Parameters:
value - New value of property value.

 

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