Files
spring-shell/spring-shell-docs/modules/ROOT/pages/tui/views/dialog.adoc
Janne Valkealahti d77bcac59c Update docs
2023-10-20 08:07:17 +01:00

35 lines
801 B
Plaintext

[[tui-views-dialog]]
= DialogView
:page-section-summary-toc: 1
ifndef::snippets[:snippets: ../../../../../src/test/java/org/springframework/shell/docs]
_DialogView_ is a base implementation providing functionality to draw a dialog.
Inherits xref:tui/views/box.adoc[].
[source, text]
----
┌──────────────────┐
│ │
│ <Main content> │
│ │
├──────────────────┤
│ <Buttons> │
└──────────────────┘
----
== Default Bindings
Does not have any default bindings.
== Events
Events are sent depending on a used list type.
.DialogView Events
|===
|Event |Description
|DialogViewCloseEvent
|Dialog requested to get closed.
|===