EventLoop
EventLoop
是所有事件将在其中有条不紊地处理的组件生命周期中的中心位置。通常需要围绕重绘制时间和组件状态更新进行编排。
EventLoop
is a central place where all eventing will be orchestrated for
a lifecycle of a component. Orchestration is usually needed around timings
of redraws and and component state updates.
事件循环中的所有内容均表示为 Spring 消息。
Everything in an event loop is represented as a Spring Message.
Unresolved include directive in modules/ROOT/pages/tui/events/eventloop.adoc - include::../../../../../src/test/java/org/springframework/shell/docs/EventLoopSnippets.java[]
选择键事件使用内置过滤方法 keyEvents()。
Selecting key events use a build-in filtering method keyEvents().
Unresolved include directive in modules/ROOT/pages/tui/events/eventloop.adoc - include::../../../../../src/test/java/org/springframework/shell/docs/EventLoopSnippets.java[]