harmonic.mz.event
Class ProgressEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--harmonic.mz.event.ProgressEvent
All Implemented Interfaces:
java.io.Serializable

public class ProgressEvent
extends java.util.EventObject

These events are sent by ProgressManager when progress state has changed

See Also:
Serialized Form

Field Summary
static int BLOCKING_END
          Blocking operation ended
static int BLOCKING_START
          Blocking operation started
static int THREAD_ADDED
          Thread was added
static int THREAD_CHANGED
          Thread progress updated
static int THREAD_REMOVED
          Thread was removed
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ProgressEvent(ProgressManager mgr, int id, java.lang.Thread thread)
          Creates a ProgressEvent
 
Method Summary
 int getID()
          Return event id
 java.lang.Thread getThread()
          Return thread progress pertains to
 
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

THREAD_ADDED

public static final int THREAD_ADDED
Thread was added

See Also:
Constant Field Values

THREAD_REMOVED

public static final int THREAD_REMOVED
Thread was removed

See Also:
Constant Field Values

THREAD_CHANGED

public static final int THREAD_CHANGED
Thread progress updated

See Also:
Constant Field Values

BLOCKING_START

public static final int BLOCKING_START
Blocking operation started

See Also:
Constant Field Values

BLOCKING_END

public static final int BLOCKING_END
Blocking operation ended

See Also:
Constant Field Values
Constructor Detail

ProgressEvent

public ProgressEvent(ProgressManager mgr,
                     int id,
                     java.lang.Thread thread)
Creates a ProgressEvent

Method Detail

getID

public int getID()
Return event id


getThread

public java.lang.Thread getThread()
Return thread progress pertains to