FreeHEP API
Version current

org.freehep.record.loop.event
Class RecordEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.freehep.record.loop.event.RecordEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConfigurationEvent, RecordSuppliedEvent

public class RecordEvent
extends EventObject

This class is used to notify RecordListener objects that there has been a transition in a SequentialRecordLoop.

Version:
$Id: RecordEvent.java,v 1.2 2003/05/27 22:35:52 duns Exp $
Author:
patton
See Also:
Serialized Form
Source Code:
RecordEvent.java

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RecordEvent(Object source)
          Create an instance of this class with the specified Object as the source.
RecordEvent(SequentialRecordLoop source)
          Create an instance of this class with the specified SequentialRecordLoop as the source.
 
Method Summary
 SequentialRecordLoop getRecordLoop()
          Returns the SequentialRecordLoop which is the source of this event.
 
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

RecordEvent

public RecordEvent(Object source)
Create an instance of this class with the specified Object as the source.

Parameters:
source - the object which is the source of this event.

RecordEvent

public RecordEvent(SequentialRecordLoop source)
Create an instance of this class with the specified SequentialRecordLoop as the source.

Parameters:
source - the object which is the source of this event.
Method Detail

getRecordLoop

public SequentialRecordLoop getRecordLoop()
Returns the SequentialRecordLoop which is the source of this event. If the source of this event is not a SequentialRecordLoop object then 'null' is returned.

Returns:
the SequentialRecordLoop which is the source of this event.

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.