StdUiCalculation
org.terminal21.client.components.StdUiCalculation
trait StdUiCalculation[OUT](name: String, dataUi: UiElement & HasStyle[_])(using session: ConnectedSession, executor: FiberExecutor) extends Calculation[OUT], UiComponent
Creates a standard UI for a calculation which may take time. While the calculation runs, the UI is grayed out, including the dataUi component. When the calculation completes, it allows for updating the dataUi component.
Type parameters
- OUT
-
the return value of the calculation.
Attributes
- Graph
-
- Supertypes
-
trait UiComponenttrait UiElementtrait Calculation[OUT]class Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Attributes
- Definition Classes
Attributes
- Definition Classes
Attributes
- Definition Classes
Inherited methods
Attributes
- Inherited from:
- Calculation
Attributes
- Definition Classes
- Inherited from:
- UiComponent
Attributes
- Inherited from:
- Calculation
Attributes
- Inherited from:
- UiElement
Renders any changes for this element and it's children (if any). The element must previously have been added to the session.
Renders any changes for this element and it's children (if any). The element must previously have been added to the session.
Attributes
- Inherited from:
- UiElement
Attributes
- Inherited from:
- Calculation
In this article