Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.scopemvc.core
Interface ModelChangeEvent  view ModelChangeEvent download ModelChangeEvent.java

All Superinterfaces:
ModelChangeTypes

public interface ModelChangeEvent
extends ModelChangeTypes

Event that is broadcast to notify interested ModelChangeListeners of a change in state of a model object implementing ModelChangeEventSource. It contains:

Note that the event does not contain the actual data that changed, unlike JavaBeans PropertyChangeEvent.

Version:
$Revision: 1.2 $ $Date: 2002/01/12 09:35:40 $

Field Summary
 
Fields inherited from interface org.scopemvc.core.ModelChangeTypes
ACCESS_CHANGED, VALUE_ADDED, VALUE_CHANGED, VALUE_REMOVED
 
Method Summary
 ModelChangeEventSource getModel()
          Get the source Model of this event.
 Selector getSelector()
          Get the Selector for the contents that changed to cause broadcast of this event.
 int getType()
          Return the type of change this event notifies.
 void setModel(ModelChangeEventSource inModel)
          Set the source of this event.
 void setSelector(Selector inSelector)
          Set the Selector representing the contents that changed to cause broadcast of this event.
 void setType(int inType)
          Set the type of change this event notifies of.
 

Method Detail

setType

public void setType(int inType)
Set the type of change this event notifies of.


getType

public int getType()
Return the type of change this event notifies.


setModel

public void setModel(ModelChangeEventSource inModel)
Set the source of this event.


getModel

public ModelChangeEventSource getModel()
Get the source Model of this event.


setSelector

public void setSelector(Selector inSelector)
Set the Selector representing the contents that changed to cause broadcast of this event.


getSelector

public Selector getSelector()
Get the Selector for the contents that changed to cause broadcast of this event.