Uses of Enum Class
com.vaadin.flow.component.page.WebStorage.Storage
Packages that use WebStorage.Storage
-
Uses of WebStorage.Storage in com.vaadin.flow.component.page
Methods in com.vaadin.flow.component.page that return WebStorage.StorageModifier and TypeMethodDescriptionstatic WebStorage.Storage
Returns the enum constant of this class with the specified name.static WebStorage.Storage[]
WebStorage.Storage.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.vaadin.flow.component.page with parameters of type WebStorage.StorageModifier and TypeMethodDescriptionstatic void
WebStorage.clear
(WebStorage.Storage storage) Clears the given storage.static void
WebStorage.clear
(UI ui, WebStorage.Storage storage) Clears the given storage.static CompletableFuture<String>
WebStorage.getItem
(WebStorage.Storage storage, String key) Asynchronously gets an item from the given storage.static void
WebStorage.getItem
(WebStorage.Storage storage, String key, WebStorage.Callback callback) Asynchronously gets an item from the given storage.static CompletableFuture<String>
WebStorage.getItem
(UI ui, WebStorage.Storage storage, String key) Asynchronously gets an item from the given storage.static void
WebStorage.getItem
(UI ui, WebStorage.Storage storage, String key, WebStorage.Callback callback) Asynchronously gets an item from the given storage.static void
WebStorage.removeItem
(WebStorage.Storage storage, String key) Removes the value associated by the given key from the provided storage typestatic void
WebStorage.removeItem
(UI ui, WebStorage.Storage storage, String key) Removes the value associated by the given key from the provided storage typestatic void
WebStorage.setItem
(WebStorage.Storage storage, String key, String value) Sets given key-value pair to given storage typestatic void
WebStorage.setItem
(UI ui, WebStorage.Storage storage, String key, String value) Sets given key-value pair to given storage type