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

32 lines
661 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]
----
┌───┬───┐
│ │ │
│ │ │
├───┼───┤
│ │ │
│ │ │
└───┴───┘
----
== Default Bindings
Does not have any default bindings.
== Events
Does not have any events.