org.freehep.record.loop.event
Class LoopProgressEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.freehep.record.loop.event.LoopProgressEvent
All Implemented Interfaces:
Serializable

public class LoopProgressEvent
extends EventObject

This class is used to update RecordLoopListener objects on the progress of a SequentialRecordLoop.

Version:
$Id: LoopProgressEvent.java 8584 2006-08-10 23:06:37Z duns $
Author:
patton
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
LoopProgressEvent(Object source, double fraction)
          Create an instance of this class with the specified progress.
 
Method Summary
 double getFraction()
          Returns the fraction of the loop that has been completed.
 
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

LoopProgressEvent

public LoopProgressEvent(Object source,
                         double fraction)
Create an instance of this class with the specified progress.

Parameters:
source - the SequentialRecordLoop object which generated this event.
fraction - the fraction of a loop that has been completed.
Method Detail

getFraction

public double getFraction()
Returns the fraction of the loop that has been completed.

Returns:
the fraction of the loop that has been completed.


Copyright © 2000-2007 FreeHEP. All Rights Reserved.