public static class UILifecycle.StateChangeEvent extends com.google.web.bindery.event.shared.Event<UILifecycle.StateChangeHandler>
To listen for the event add a UILifecycle.StateChangeHandler using
UILifecycle.addHandler(StateChangeHandler).
| Constructor and Description |
|---|
StateChangeEvent(UILifecycle uiLifecycle)
Creates a new event connected to the given lifecycle instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(UILifecycle.StateChangeHandler listener) |
com.google.web.bindery.event.shared.Event.Type<UILifecycle.StateChangeHandler> |
getAssociatedType() |
static com.google.web.bindery.event.shared.Event.Type<UILifecycle.StateChangeHandler> |
getType()
Gets the type of the event after ensuring the type has been created.
|
UILifecycle |
getUiLifecycle()
Gets the
UILifecycle instance which triggered this event. |
public StateChangeEvent(UILifecycle uiLifecycle)
uiLifecycle - the lifecycle instancepublic static com.google.web.bindery.event.shared.Event.Type<UILifecycle.StateChangeHandler> getType()
public com.google.web.bindery.event.shared.Event.Type<UILifecycle.StateChangeHandler> getAssociatedType()
getAssociatedType in class com.google.web.bindery.event.shared.Event<UILifecycle.StateChangeHandler>public UILifecycle getUiLifecycle()
UILifecycle instance which triggered this event.UILifecycle which triggered the eventprotected void dispatch(UILifecycle.StateChangeHandler listener)
dispatch in class com.google.web.bindery.event.shared.Event<UILifecycle.StateChangeHandler>Copyright © 2000–2018 Vaadin Ltd. All rights reserved.