StatusBarView
StatusBarView 是一个基本实现,提供了绘制状态栏的功能。继承 BoxView。
┌─────────────────────────────┐
│ Item1 | Item2 | Item3 │
└─────────────────────────────┘
您可以使用项目创建简单的状态栏:
Unresolved include directive in modules/ROOT/pages/tui/views/statusbar.adoc - include::../../../../../src/test/java/org/springframework/shell/docs/StatusBarViewSnippets.java[]
构造函数可以采用数组形式,允许以 dsl 样式布置简单的项目定义。
Unresolved include directive in modules/ROOT/pages/tui/views/statusbar.adoc - include::../../../../../src/test/java/org/springframework/shell/docs/StatusBarViewSnippets.java[]
项目支持可运行操作,这些操作通常在项目被选中时执行。它还可补充到热键。
Unresolved include directive in modules/ROOT/pages/tui/views/statusbar.adoc - include::../../../../../src/test/java/org/springframework/shell/docs/StatusBarViewSnippets.java[]