Package | Description |
---|---|
jexer |
Jexer - Java Text User Interface library
|
jexer.backend |
The interface between TApplication and user-facing I/O.
|
jexer.event |
Events that are generated by both end-user I/O (keyboard/mouse) and other
UI elements (menu/resize).
|
jexer.tterminal |
An ECMA-48 / ANSI X3.64 style terminal emulator.
|
Modifier and Type | Method and Description |
---|---|
void |
TWidget.handleEvent(TInputEvent event)
Consume event.
|
void |
TApplication.postEvent(TInputEvent event)
Post an event to process.
|
void |
TApplication.postMenuEvent(TInputEvent event)
Post an event to process and turn off the menu.
|
Modifier and Type | Method and Description |
---|---|
void |
Backend.getEvents(java.util.List<TInputEvent> queue)
Classes must provide an implementation to get keyboard, mouse, and
screen resize events.
|
void |
ECMA48Terminal.getEvents(java.util.List<TInputEvent> queue)
Return any events in the IO queue.
|
void |
GenericBackend.getEvents(java.util.List<TInputEvent> queue)
Get keyboard, mouse, and screen resize events.
|
void |
MultiBackend.getEvents(java.util.List<TInputEvent> queue)
Subclasses must provide an implementation to get keyboard, mouse, and
screen resize events.
|
void |
SwingTerminal.getEvents(java.util.List<TInputEvent> queue)
Return any events in the IO queue.
|
void |
TWindowBackend.getEvents(java.util.List<TInputEvent> queue)
Subclasses must provide an implementation to get keyboard, mouse, and
screen resize events.
|
void |
TerminalReader.getEvents(java.util.List<TInputEvent> queue)
Classes must provide an implementation to get keyboard, mouse, and
screen resize events.
|
Modifier and Type | Class and Description |
---|---|
class |
TCommandEvent
This class encapsulates a user command event.
|
class |
TKeypressEvent
This class encapsulates a keyboard input event.
|
class |
TMenuEvent
This class encapsulates a menu selection event.
|
class |
TMouseEvent
This class encapsulates several kinds of mouse input events.
|
class |
TResizeEvent
This class encapsulates a screen or window resize event.
|
Modifier and Type | Method and Description |
---|---|
void |
ECMA48.addUserEvent(TInputEvent event)
Add a keyboard and mouse event from the user to the queue.
|
Copyright © 2019 Kevin Lamonte. Licensed MIT.