org.freehep.record.loop.event
Class LoopProgressEvent
java.lang.Object
|
+--java.util.EventObject
|
+--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,v 1.2 2003/05/27 22:35:51 duns Exp $
- Author:
- patton
- See Also:
- Serialized Form
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. |
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.
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-2003 FreeHEP, All Rights Reserved.