org.freehep.record.loop.event
Class RecordEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.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 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
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.


Copyright © 2000-2007 FreeHEP. All Rights Reserved.