Update docs
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
[[tui-events-eventloop]]
|
||||
= EventLoop
|
||||
:page-section-summary-toc: 1
|
||||
|
||||
ifndef::snippets[:snippets: ../../../../../src/test/java/org/springframework/shell/docs]
|
||||
|
||||
`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.
|
||||
|
||||
Everything in an event loop is represented as a Spring Message.
|
||||
|
||||
[source, java, indent=0]
|
||||
----
|
||||
include::{snippets}/EventLoopSnippets.java[tag=plainevents]
|
||||
----
|
||||
|
||||
Selecting key events use a build-in filtering method _keyEvents()_.
|
||||
|
||||
[source, java, indent=0]
|
||||
----
|
||||
include::{snippets}/EventLoopSnippets.java[tag=keyevents]
|
||||
----
|
||||
@@ -0,0 +1,7 @@
|
||||
[[tui-events]]
|
||||
= Events
|
||||
:page-section-summary-toc: 1
|
||||
|
||||
ifndef::snippets[:snippets: ../../../../test/java/org/springframework/shell/docs]
|
||||
|
||||
This section contains information about eventing.
|
||||
7
spring-shell-docs/modules/ROOT/pages/tui/events/key.adoc
Normal file
7
spring-shell-docs/modules/ROOT/pages/tui/events/key.adoc
Normal file
@@ -0,0 +1,7 @@
|
||||
[[tui-events-key]]
|
||||
= Key Handling
|
||||
:page-section-summary-toc: 1
|
||||
|
||||
ifndef::snippets[:snippets: ../../../../../src/test/java/org/springframework/shell/docs]
|
||||
|
||||
tbd
|
||||
@@ -0,0 +1,7 @@
|
||||
[[tui-events-mouse]]
|
||||
= Mouse Handling
|
||||
:page-section-summary-toc: 1
|
||||
|
||||
ifndef::snippets[:snippets: ../../../../../src/test/java/org/springframework/shell/docs]
|
||||
|
||||
tbd
|
||||
Reference in New Issue
Block a user