Back to index

wims  3.65+svn20090927
Public Member Functions
fr.ove.openmath.jome.model.events.ModelListenerController Interface Reference

The interface that an object which want to be alerted of the changes of the model and want to control at the same time, must implement. More...

Inheritance diagram for fr.ove.openmath.jome.model.events.ModelListenerController:
Inheritance graph
[legend]
Collaboration diagram for fr.ove.openmath.jome.model.events.ModelListenerController:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void addControlListener (ControlListener controlListener)
 Registers another listener to be informed of some changes.
void removeControlListener (ControlListener controlListener)
 Removes a listener.
void fireControlEvent (ControlEvent controlEvent)
 Fires a Control event to registered listeners.
void consumeModelEvent (ModelEvent modelEvent)
 Consumes (i.e.

Detailed Description

The interface that an object which want to be alerted of the changes of the model and want to control at the same time, must implement.

Author:
1998 DIRAT Laurent
Version:
1.0 29/07/98

Definition at line 42 of file ModelListenerController.java.


Member Function Documentation

Registers another listener to be informed of some changes.

Parameters:
controlListenera listener to add.

Consumes (i.e.

treats) the event received from the model.

Parameters:
modelEventthe event to consume.

Fires a Control event to registered listeners.

Parameters:
controlEventevent encapsulating relevant information.

Removes a listener.

Parameters:
controlListenera listener to remove.

The documentation for this interface was generated from the following file: