com.deltax.util.listener
Class ObservableSignal

java.lang.Object
  extended bycom.deltax.util.listener.Signal
      extended bycom.deltax.util.listener.ObjectSignal
          extended bycom.deltax.util.listener.ObservableSignal

public class ObservableSignal
extends ObjectSignal

A signal produced by an Observable object. Use getObservable() to retrieve the observed object and ObjectSignal.getArgument() to retrieve the argument.

Version:
1.0
Author:
Cristiano Sadun

Field Summary
 
Fields inherited from class com.deltax.util.listener.ObjectSignal
argument
 
Constructor Summary
ObservableSignal(java.util.Observable source, java.lang.Object arg)
           
 
Method Summary
 java.util.Observable getObservable()
          Return the observable object which generated the signal.
 
Methods inherited from class com.deltax.util.listener.ObjectSignal
getArgument
 
Methods inherited from class com.deltax.util.listener.Signal
getSource, sourceSupportsExceptionSignals
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObservableSignal

public ObservableSignal(java.util.Observable source,
                        java.lang.Object arg)
Parameters:
source -
arg -
Method Detail

getObservable

public java.util.Observable getObservable()
Return the observable object which generated the signal.

Returns:
the observable object which generated the signal.