Files
Mahmoud Ben Hassine e3cb93791d Update documentation
2025-04-25 10:13:56 +02:00

32 lines
677 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. _GridView_ inherits from 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.