Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
protected abstract MenuManager<C,I,S> |
ContextMenuBase.createMenuManager(SerializableRunnable contentReset)
Creates a menu manager instance which contains logic to control the menu
content.
|
protected MenuManager<ContextMenu,MenuItem,SubMenu> |
ContextMenu.createMenuManager(SerializableRunnable contentReset) |
Constructor and 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 and Description |
---|
MenuManager(C menu,
SerializableRunnable contentReset,
SerializableBiFunction<C,SerializableRunnable,I> itemGenerator,
Class<I> itemType,
I parentMenuItem)
Creates a new manager instance.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
protected MenuManager<GridContextMenu<T>,GridMenuItem<T>,GridSubMenu<T>> |
GridContextMenu.createMenuManager(SerializableRunnable contentReset) |
Constructor and 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 associated
parentMenuItem (item which opens the submenu) and reset context
menu callback. |
Modifier and Type | Method and Description |
---|---|
default DomListenerRegistration |
DomListenerRegistration.onUnregister(SerializableRunnable unregisterHandler)
Adds a handler that will be run when this registration is removed.
|
Copyright © 2025. All rights reserved.