org.kuali.student.common.ui.client.mvc
Class ModelChangeEvent
java.lang.Object
com.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<ModelChangeHandler>
org.kuali.student.common.ui.client.mvc.ModelChangeEvent
- Type Parameters:
T
-
- Direct Known Subclasses:
- CollectionModelChangeEvent, DataModelChangeEvent
public class ModelChangeEvent
- extends com.google.gwt.event.shared.GwtEvent<ModelChangeHandler>
Event that is fired when the model is changed.
- Author:
- Kuali Student Team
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
com.google.gwt.event.shared.GwtEvent.Type<H> |
Methods inherited from class com.google.gwt.event.shared.GwtEvent |
assertLive, isLive, kill, revive |
Methods inherited from class com.google.web.bindery.event.shared.Event |
setSource, toDebugString, toString |
TYPE
public static final com.google.gwt.event.shared.GwtEvent.Type<ModelChangeHandler> TYPE
ModelChangeEvent
public ModelChangeEvent(ModelChangeEvent.Action action,
Model source)
- Constructs a new ModelChangeEvent with an action and a value
- Parameters:
action
- value
-
dispatch
protected void dispatch(ModelChangeHandler handler)
- Specified by:
dispatch
in class com.google.gwt.event.shared.GwtEvent<ModelChangeHandler>
getAssociatedType
public com.google.gwt.event.shared.GwtEvent.Type<ModelChangeHandler> getAssociatedType()
- Overrides:
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<ModelChangeHandler>
getAction
public ModelChangeEvent.Action getAction()
- Returns the action (ADD/UPDATE/REMOVE) associated with the event
- Returns:
getSource
public Model getSource()
- Returns the model from which this event originated
- Overrides:
getSource
in class com.google.gwt.event.shared.GwtEvent<ModelChangeHandler>
- Returns:
- the model from which this event originated
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.