org.apache.avalon.composition.event
Class ModelEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.apache.avalon.composition.event.ModelEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ContainmentEvent

public abstract class ModelEvent
extends EventObject

A event object that descirbes a model related event.

Version:
$Revision: 1.2 $ $Date: 2004/01/01 13:06:54 $
Author:
Stephen McConnell
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ModelEvent(Model model)
          Create a ModelEvent instance.
 
Method Summary
 Model getModel()
          Return the the model that generated the event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModelEvent

public ModelEvent(Model model)
Create a ModelEvent instance.

Parameters:
model - the model raising the event
Method Detail

getModel

public Model getModel()
Return the the model that generated the event.

Returns:
the source model


Copyright © Apache Software Foundation. All Rights Reserved.