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 8584 2006-08-10 23:06:37Z duns $
- 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-2007 FreeHEP. All Rights Reserved.