edu.bonn.xulu.model.event
Class AbstractModelEvent

java.lang.Object
  extended by AbstractObjectEvent
      extended by edu.bonn.xulu.model.event.AbstractModelEvent
All Implemented Interfaces:
ModelEvent
Direct Known Subclasses:
AbstractStepModelEvent, ModelDisposedEvent, ModelInitialisedEvent, ModelStartedEvent, ModelStoppedEvent

public abstract class AbstractModelEvent
extends AbstractObjectEvent
implements ModelEvent

Diese Klasse bildet eine Basis-Implementierung fuer Modell-Ereignisse.

Version:
1.0
Author:
Martin Schmitz (University of Bonn/Germany)

Field Summary
protected  XuluModel model
          Speichert das Modell, das das Ereignis ausgeloest hat.
 
Constructor Summary
AbstractModelEvent(XuluModel model)
          Erzeugt ein neues Ereignis.
 
Method Summary
 XuluModel getSourceModel()
          Liefert das Modell, das das Ereignis ausgeloest hat.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

protected XuluModel model
Speichert das Modell, das das Ereignis ausgeloest hat.

Constructor Detail

AbstractModelEvent

public AbstractModelEvent(XuluModel model)
Erzeugt ein neues Ereignis.

Parameters:
model - ausloesendes Modell
Method Detail

getSourceModel

public XuluModel getSourceModel()
Liefert das Modell, das das Ereignis ausgeloest hat.

Specified by:
getSourceModel in interface ModelEvent