biocell
Class BioDeviceEvent

java.lang.Object
  extended by java.util.EventObject
      extended by biocell.BioDeviceEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BioSensorEvent

public class BioDeviceEvent
extends java.util.EventObject

Author:
martin lukac Event Generated (in some cases) by the BioDevice.
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BioDeviceEvent(java.lang.Object source, int state)
          implementation of BioDevice Events, the lowest events, closest to the hardware implementations.
BioDeviceEvent(java.lang.Object source, java.lang.Object data)
          implementation of BioDevice Events, the lowest events, closest to the hardware implementations.
 
Method Summary
 java.lang.Object getData()
           
 int getState()
           
 
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

BioDeviceEvent

public BioDeviceEvent(java.lang.Object source,
                      int state)
implementation of BioDevice Events, the lowest events, closest to the hardware implementations.

Parameters:
source - - source of the event
state - - state of the source

BioDeviceEvent

public BioDeviceEvent(java.lang.Object source,
                      java.lang.Object data)
implementation of BioDevice Events, the lowest events, closest to the hardware implementations.

Parameters:
source - - source of the event
state - - state of the source
Method Detail

getState

public int getState()

getData

public java.lang.Object getData()