org.scopemvc.model.basic
Class BasicModelChangeEvent

java.lang.Object
  |
  +--org.scopemvc.model.basic.BasicModelChangeEvent
All Implemented Interfaces:
ModelChangeEvent, ModelChangeTypes

public final class BasicModelChangeEvent
extends java.lang.Object
implements ModelChangeEvent

Concrete implementation of ModelChangeEvent.

Version:
$Revision: 1.4 $ $Date: 2002/09/05 15:41:46 $
Author:
Steve Meyfroidt

Field Summary
 
Fields inherited from interface org.scopemvc.core.ModelChangeTypes
ACCESS_CHANGED, VALUE_ADDED, VALUE_CHANGED, VALUE_REMOVED
 
Constructor Summary
BasicModelChangeEvent()
          Constructor for the BasicModelChangeEvent object
 
Method Summary
 ModelChangeEventSource getModel()
          Gets the model
 Selector getSelector()
          Gets the selector
 int getType()
          Gets the type
 void setModel(ModelChangeEventSource inModel)
          Sets the model
 void setSelector(Selector inSelector)
          Sets the selector
 void setType(int inType)
          Sets the type
 java.lang.String toString()
          Returns a string representation of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicModelChangeEvent

public BasicModelChangeEvent()
Constructor for the BasicModelChangeEvent object

Method Detail

getType

public int getType()
Gets the type

Specified by:
getType in interface ModelChangeEvent
Returns:
The type value
See Also:
ModelChangeTypes

getModel

public ModelChangeEventSource getModel()
Gets the model

Specified by:
getModel in interface ModelChangeEvent
Returns:
The model value

getSelector

public Selector getSelector()
Gets the selector

Specified by:
getSelector in interface ModelChangeEvent
Returns:
The selector value

setType

public void setType(int inType)
Sets the type

Specified by:
setType in interface ModelChangeEvent
Parameters:
inType - The new type value
See Also:
ModelChangeTypes

setModel

public void setModel(ModelChangeEventSource inModel)
Sets the model

Specified by:
setModel in interface ModelChangeEvent
Parameters:
inModel - The new model value

setSelector

public void setSelector(Selector inSelector)
Sets the selector

Specified by:
setSelector in interface ModelChangeEvent
Parameters:
inSelector - The new selector value

toString

public java.lang.String toString()
Returns a string representation of this object

Overrides:
toString in class java.lang.Object
Returns:
a string representation of this object


Copyright © 2000-2002 The Scope Team. All Rights Reserved.