public class ApplicationEvent extends AbstractEvent<ApplicationEvent.Type,Application>
Modifier and Type | Class and Description |
---|---|
static class |
ApplicationEvent.Type |
Constructor and Description |
---|
ApplicationEvent(ApplicationEvent.Type type,
Application app)
Creates an event of a given type and for the specified app and the
current time.
|
ApplicationEvent(ApplicationEvent.Type type,
Application app,
long time)
Creates an event of a given type and for the specified app and time.
|
subject, time, toString, type
public ApplicationEvent(ApplicationEvent.Type type, Application app)
type
- app event typeapp
- event app subjectpublic ApplicationEvent(ApplicationEvent.Type type, Application app, long time)
type
- app event typeapp
- event app subjecttime
- occurrence time