| Package | Description |
|---|---|
| org.vaadin.miki.superfields.unload |
| Modifier and Type | Method and Description |
|---|---|
static UnloadObserver |
UnloadObserver.get()
Returns or creates an instance for current UI.
|
static UnloadObserver |
UnloadObserver.get(com.vaadin.flow.component.UI ui)
Returns or creates an instance for a given UI.
|
static UnloadObserver |
UnloadObserver.getAttached()
Returns or creates an instance for current UI and attaches that instance to the UI, if not yet attached.
|
static <C extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasComponents> |
UnloadObserver.getAttached(C parent)
Returns or creates an instance for the UI associated with given
parent and attaches that instance to parent. |
UnloadObserver |
UnloadObserver.withoutQueryingOnUnload()
Shortcut for
withQueryingOnUnload(false). |
UnloadObserver |
UnloadObserver.withQueryingOnUnload()
Shortcut for
withQueryingOnUnload(true). |
UnloadObserver |
UnloadObserver.withQueryingOnUnload(boolean value)
Chains
setQueryingOnUnload(boolean) and returns itself. |
| Constructor and Description |
|---|
UnloadEvent(UnloadObserver source,
boolean attempted)
Creates a new event using the given source and indicator whether the
event originated from the client side or the server side.
|
Copyright © 2024 Miki. All rights reserved.