|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.mdl.ModelChangeEvent
The base class for all changes applied to WidgetModels. Usually this event modifes a model in its execute method.
| Field Summary | |
protected boolean |
fromUI_
Indicates whether this event originated from the UIDelegateClient of from the programmer. |
protected WModel |
wModel_
The WidgetModel that is the destination of this event. |
| Constructor Summary | |
ModelChangeEvent(WModel destination,
boolean fromUI)
Constructs a ModelChangeEvent. |
|
| Method Summary | |
abstract boolean |
execute()
Applies this change to the WidgetModel. |
boolean |
isFromUI()
Indicates that the source of this event is an UI action and not a programmer rooted action. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected WModel wModel_
protected boolean fromUI_
| Constructor Detail |
public ModelChangeEvent(WModel destination,
boolean fromUI)
destination - the WidgetModel that is the recipient of this eventfromUI - specifies if this event originated from the programmer or
from the UI library.| Method Detail |
public boolean isFromUI()
public abstract boolean execute()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||