de.dante.extex.interpreter.context.observer.interaction
Interface InteractionObservable

All Known Implementing Classes:
ContextImpl

public interface InteractionObservable

This interface describes the possibility to register an observer for an interaction event.

Version:
$Revision: 1.2 $
Author:
Gerd Neugebauer

Method Summary
 void registerInteractionObserver(InteractionObserver observer)
          Register an observer for interaction mode change events.
 void unregisterInteractionObserver(InteractionObserver observer)
          Remove a registered observer for interaction mode change events.
 

Method Detail

registerInteractionObserver

public void registerInteractionObserver(InteractionObserver observer)
Register an observer for interaction mode change events. Interaction mode change events are triggered when a new value is assigned to the interaction mode. In this case the appropriate method in the observer is invoked.

A single count register can be observed by giving a name of the count register to observe. Only changes to this register trigger the notification. If this name is null the changes to all registers are reported to the observer.

Parameters:
observer - the observer to receive the events

unregisterInteractionObserver

public void unregisterInteractionObserver(InteractionObserver observer)
Remove a registered observer for interaction mode change events. Interaction mode change events are triggered when a new value is assigned to the interaction mode. In this case the appropriate method in the observer is invoked.

Parameters:
observer - the observer to receive the events