Uses of Interface
com.vaadin.flow.function.SerializableRunnable
-
-
Uses of SerializableRunnable in com.vaadin.flow.component
Methods in com.vaadin.flow.component that return SerializableRunnable Modifier and Type Method Description SerializableRunnable
UI. accessLater(SerializableRunnable accessTask, SerializableRunnable detachHandler)
Wraps the given access task as a runnable that runs the given task with this UI locked.Methods in com.vaadin.flow.component with parameters of type SerializableRunnable Modifier and Type Method Description <T> SerializableConsumer<T>
UI. accessLater(SerializableConsumer<T> accessTask, SerializableRunnable detachHandler)
Wraps the given access task as a consumer that passes a value to the given task with this UI locked.SerializableRunnable
UI. accessLater(SerializableRunnable accessTask, SerializableRunnable detachHandler)
Wraps the given access task as a runnable that runs the given task with this UI locked. -
Uses of SerializableRunnable in com.vaadin.flow.component.contextmenu
Methods in com.vaadin.flow.component.contextmenu with parameters of type SerializableRunnable Modifier and Type Method Description protected MenuManager<ContextMenu,MenuItem,SubMenu>
ContextMenu. createMenuManager(SerializableRunnable contentReset)
protected abstract MenuManager<C,I,S>
ContextMenuBase. createMenuManager(SerializableRunnable contentReset)
Creates a menu manager instance which contains logic to control the menu content.Constructors in com.vaadin.flow.component.contextmenu with parameters of type SerializableRunnable Constructor Description MenuItem(ContextMenu contextMenu, SerializableRunnable contentReset)
MenuManager(C menu, SerializableRunnable contentReset, SerializableBiFunction<C,SerializableRunnable,I> itemGenerator, Class<I> itemType, I parentMenuItem)
Creates a new manager instance.SubMenu(MenuItem parentMenuItem, SerializableRunnable contentReset)
Constructor parameters in com.vaadin.flow.component.contextmenu with type arguments of type SerializableRunnable Constructor Description MenuManager(C menu, SerializableRunnable contentReset, SerializableBiFunction<C,SerializableRunnable,I> itemGenerator, Class<I> itemType, I parentMenuItem)
Creates a new manager instance. -
Uses of SerializableRunnable in com.vaadin.flow.component.grid
Constructors in com.vaadin.flow.component.grid with parameters of type SerializableRunnable Constructor Description GridSelectionColumn(SerializableRunnable selectAllCallback, SerializableRunnable deselectAllCallback)
Constructs a new grid selection column configured to use the given callbacks whenever the select all checkbox is toggled on the client side. -
Uses of SerializableRunnable in com.vaadin.flow.component.grid.contextmenu
Methods in com.vaadin.flow.component.grid.contextmenu with parameters of type SerializableRunnable Modifier and Type Method Description protected MenuManager<GridContextMenu<T>,GridMenuItem<T>,GridSubMenu<T>>
GridContextMenu. createMenuManager(SerializableRunnable contentReset)
Constructors in com.vaadin.flow.component.grid.contextmenu with parameters of type SerializableRunnable Constructor Description GridMenuItem(GridContextMenu<T> contextMenu, SerializableRunnable contentReset)
Creates a new instance using the context menu and its reset callback.GridSubMenu(GridMenuItem<T> parentMenuItem, SerializableRunnable contentReset)
Creates a new instance of submenu using the associatedparentMenuItem
(item which opens the submenu) and reset context menu callback. -
Uses of SerializableRunnable in com.vaadin.flow.dom
Methods in com.vaadin.flow.dom with parameters of type SerializableRunnable Modifier and Type Method Description default DomListenerRegistration
DomListenerRegistration. onUnregister(SerializableRunnable unregisterHandler)
Adds a handler that will be run when this registration is removed.
-