public interface Event<T>
During the course of the application's life cycle, it will emit events. This class returns an instance of the type T as its "detail".
This allows us to do things like:
app.addEventListener(APPLICATION_START, e -> printf("Host is %s", e.detail) )
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
APPLICATION_FAIL |
|
static java.lang.String |
APPLICATION_START |
Users can use this static field when using the addEventListener(String, EventListener) |
static java.lang.String |
APPLICATION_STATUS_CHANGE |
Type Params | Return Type | Name and description |
---|---|---|
|
public T |
getDetail() |