| java.lang.Object net.mygwt.ui.client.mvc.AppEvent
AppEvent | public class AppEvent (Code) | | AppEvents are used to pass messages between
Controllers and Views . All events have a
specific type which are used to identify the event. Typically, applications
will define all application events in a constants class.
|
Field Summary | |
public Object | data Application specific data such as the model. | public boolean | doit Depending on the event, a flag indicating whether the operation should be
allowed. | public int | type The type of the event. |
Constructor Summary | |
public | AppEvent(int type) Creates a new event with the given type. | public | AppEvent(int type, Object data) Creates a new event with the given type and data. |
data | public Object data(Code) | | Application specific data such as the model.
|
doit | public boolean doit(Code) | | Depending on the event, a flag indicating whether the operation should be
allowed.
|
type | public int type(Code) | | The type of the event.
|
AppEvent | public AppEvent(int type)(Code) | | Creates a new event with the given type.
Parameters: type - the event type |
AppEvent | public AppEvent(int type, Object data)(Code) | | Creates a new event with the given type and data.
Parameters: type - the event type Parameters: data - the data |
|
|