|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Event that is broadcasted to notify interested ModelChangeListeners
of a change in state of a model object implementing ModelChangeEventSource. It contains:
Selector identifying the property that changed, ModelChangeTypes). Note that the event does not contain the actual data that changed, unlike JavaBeans PropertyChangeEvent.
ModelChangeEventSource,
Selector,
ModelChangeListener,
BasicModel| 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 |
public void setType(int inType)
inType - type of change.ModelChangeTypespublic int getType()
ModelChangeTypespublic void setModel(ModelChangeEventSource inModel)
inModel - source Model of this event.public ModelChangeEventSource getModel()
public void setSelector(Selector inSelector)
inSelector - Selector for contents that changed.public Selector getSelector()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||