Files
spring-shell/spring-shell-docs/modules/ROOT/pages/tui/views/grid.adoc
Janne Valkealahti f4eec7b809 Update docs
2023-10-08 15:16:20 +01:00

32 lines
611 B
Plaintext

= GridView
:page-section-summary-toc: 1
ifndef::snippets[:snippets: ../../../../../src/test/java/org/springframework/shell/docs]
_GridView_ is a special type of view and its purpose is to layout other views
using a grid layout algorithms. Inherits xref:tui/views/box.adoc[].
[source, java, indent=0]
----
include::{snippets}/GridViewSnippets.java[tag=snippet1]
----
Will result layout of:
[source, text, indent=0]
----
┌---┬---┐
| | |
| | |
├---┼---┤
| | |
| | |
└---┴---┘
----
== Default Bindings
Does not have any default bindings.
== Events
Does not have any events.