de.dante.extex.interpreter.context.observer.group
Class SwitchObserver

java.lang.Object
  extended byde.dante.extex.interpreter.context.observer.group.SwitchObserver
All Implemented Interfaces:
AfterGroupObserver

public class SwitchObserver
extends java.lang.Object
implements AfterGroupObserver

This class provides an observer which sets a Switch when an event is received.

Version:
$Revision: 1.3 $
Author:
Gerd Neugebauer

Constructor Summary
SwitchObserver(Switch theTarget, boolean theValue)
          Creates a new object.
 
Method Summary
 void update()
          This method is meant to be invoked just after a group has been closed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwitchObserver

public SwitchObserver(Switch theTarget,
                      boolean theValue)
Creates a new object.

Parameters:
theTarget - the target switch
theValue - the new value
Method Detail

update

public void update()
Description copied from interface: AfterGroupObserver
This method is meant to be invoked just after a group has been closed.

Specified by:
update in interface AfterGroupObserver
See Also:
AfterGroupObserver.update()