Introduction
让我们从一个简单的应用程序开始,它在一个视图中打印“hello world”。
Lets start with a simple app which prints "hello world" in a view.
Unresolved include directive in modules/ROOT/pages/tui/intro/index.adoc - include::../../../../../src/test/java/org/springframework/shell/docs/TerminalUiSnippets.java[]
这里没有太多需要看的,除了 TerminalUI
是一个处理围绕视图的所有逻辑的类,并将 View
用作其根视图。
There is not much to see here other than TerminalUI
is a class handling
all logic aroung views and uses View
as it’s root view.