FreeHEP API
Version current

org.freehep.record.loop.event
Class LoopProgressEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.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,v 1.2 2003/05/27 22:35:51 duns Exp $
Author:
patton
See Also:
Serialized Form
Source Code:
LoopProgressEvent.java

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.

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.