Package | Description |
---|---|
jexer |
Jexer - Java Text User Interface library
|
jexer.backend |
The interface between TApplication and user-facing I/O.
|
jexer.demos |
Demonstration programs.
|
jexer.layout |
Available layout managers.
|
jexer.menu |
Menu bar support classes.
|
jexer.ttree |
TTreeView and supporting classes.
|
Modifier and Type | Class and Description |
---|---|
class |
TButton
TButton implements a simple button.
|
class |
TCalendar
TCalendar is a date picker widget.
|
class |
TCheckBox
TCheckBox implements an on/off checkbox.
|
class |
TComboBox
TComboBox implements a combobox containing a drop-down list and edit
field.
|
class |
TDesktop
TDesktop is a special-class window that is drawn underneath everything
else.
|
class |
TDirectoryList
TDirectoryList shows the files within a directory.
|
class |
TEditColorThemeWindow
TEditColorThemeWindow provides an easy UI for users to alter the running
color theme.
|
class |
TEditorWidget
TEditorWidget displays an editable text document.
|
class |
TEditorWindow
TEditorWindow is a basic text file editor.
|
class |
TExceptionDialog
TExceptionDialog displays an exception and its stack trace to the user,
and provides a means to save a troubleshooting report for support.
|
class |
TField
TField implements an editable text field.
|
class |
TFileOpenBox
TFileOpenBox is a system-modal dialog for selecting a file to open.
|
class |
TFontChooserWindow
TFontChooserWindow provides an easy UI for users to alter the running
font.
|
class |
THScroller
THScroller implements a simple horizontal scroll bar.
|
class |
TImage
TImage renders a piece of a bitmap image on screen.
|
class |
TImageWindow
TImageWindow shows an image with scrollbars.
|
class |
TInputBox
TInputBox is a system-modal dialog with an OK button and a text input
field.
|
class |
TLabel
TLabel implements a simple label, with an optional mnemonic hotkey action
associated with it.
|
class |
TList
TList shows a list of strings, and lets the user select one.
|
class |
TMessageBox
TMessageBox is a system-modal dialog with buttons for OK, Cancel, Yes, or
No.
|
class |
TPanel
TPanel is an empty container for other widgets.
|
class |
TPasswordField
TPasswordField implements an editable text field that displays
stars/asterisks when it is not active.
|
class |
TProgressBar
TProgressBar implements a simple progress bar.
|
class |
TRadioButton
TRadioButton implements a selectable radio button.
|
class |
TRadioGroup
TRadioGroup is a collection of TRadioButtons with a box and label.
|
class |
TScrollableWidget
TScrollableWidget is a convenience superclass for widgets that have
scrollbars.
|
class |
TScrollableWindow
TScrollableWindow is a convenience superclass for windows that have
scrollbars.
|
class |
TSpinner
TSpinner implements a simple up/down spinner.
|
class |
TSplitPane
TSplitPane contains two widgets with a draggable horizontal or vertical
bar between them.
|
class |
TStatusBar
TStatusBar implements a status line with clickable buttons.
|
class |
TTableWidget
TTableWidget is used to display and edit regular two-dimensional tables of
cells.
|
class |
TTableWidget.Cell
Cell represents an editable cell in the table.
|
class |
TTableWindow
TTableWindow is used to display and edit regular two-dimensional tables of
cells.
|
class |
TTerminalWidget
TTerminalWidget exposes a ECMA-48 / ANSI X3.64 style terminal in a widget.
|
class |
TTerminalWindow
TTerminalWindow exposes a ECMA-48 / ANSI X3.64 style terminal in a window.
|
class |
TText
TText implements a simple scrollable text area.
|
class |
TVScroller
TVScroller implements a simple vertical scroll bar.
|
class |
TWindow
TWindow is the top-level container and drawing surface for other widgets.
|
Modifier and Type | Field and Description |
---|---|
TWidget |
TAction.source
The widget that called this action's DO() method.
|
Modifier and Type | Method and Description |
---|---|
TWidget |
TWidget.getActiveChild()
Returns my active widget.
|
TWidget |
TSplitPane.getBottom()
Get the widget on the bottom side.
|
TWidget |
TSplitPane.getLeft()
Get the widget on the left side.
|
TWidget |
TWidget.getParent()
Get parent widget.
|
TWidget |
TSplitPane.getRight()
Get the widget on the right side.
|
TWidget |
TSplitPane.getTop()
Get the widget on the top side.
|
TWidget |
TSplitPane.removeSplit(TWidget widgetToRemove,
boolean doClose)
Remove this split, removing the widget specified.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<TWidget> |
TWidget.getChildren()
Get the list of child widgets that this widget contains.
|
Modifier and Type | Method and Description |
---|---|
void |
TWidget.activate(TWidget child)
Switch the active child.
|
int |
TWidget.compareTo(TWidget that)
Comparison operator.
|
void |
TAction.DO(TWidget source)
Call DO() with source widget set.
|
void |
TAction.DO(TWidget source,
java.lang.Object data)
Call DO() with source widget and data set.
|
void |
TApplication.enableSecondaryEventReceiver(TWidget widget)
Enable a widget to override the primary event thread.
|
void |
TWidget.remove(TWidget child)
Remove a child widget from this container.
|
void |
TWidget.remove(TWidget child,
boolean doClose)
Remove a child widget from this container.
|
void |
TWidget.removeAll(TWidget child,
boolean doClose)
Remove a child widget from this container, and all of its children
recursively from their parent containers.
|
TWidget |
TSplitPane.removeSplit(TWidget widgetToRemove,
boolean doClose)
Remove this split, removing the widget specified.
|
void |
TSplitPane.removeWidget(TWidget widget)
Remove a widget, regardless of what pane it is on.
|
void |
TSplitPane.replaceWidget(TWidget oldWidget,
TWidget newWidget)
Replace a widget, regardless of what pane it is on, with another
widget.
|
void |
TSplitPane.setBottom(TWidget bottom)
Set the widget on the bottom side.
|
void |
TSplitPane.setLeft(TWidget left)
Set the widget on the left side.
|
void |
TWidget.setParent(TWidget newParent,
boolean doClose)
Set this widget's parent to a different widget.
|
void |
TSplitPane.setRight(TWidget right)
Set the widget on the right side.
|
void |
TSplitPane.setTop(TWidget top)
Set the widget on the top side.
|
TSplitPane |
TWidget.splitHorizontal(boolean newWidgetOnTop,
TWidget newWidget)
Insert a horizontal split between this widget and parent, and
optionally put another widget in the other side of the split.
|
TSplitPane |
TWidget.splitVertical(boolean newWidgetOnLeft,
TWidget newWidget)
Insert a vertical split between this widget and parent, and optionally
put another widget in the other side of the split.
|
Constructor and Description |
---|
TButton(TWidget parent,
java.lang.String text,
int x,
int y,
TAction action)
Public constructor.
|
TCalendar(TWidget parent,
int x,
int y,
TAction updateAction)
Public constructor.
|
TCheckBox(TWidget parent,
int x,
int y,
java.lang.String label,
boolean checked)
Public constructor.
|
TComboBox(TWidget parent,
int x,
int y,
int width,
java.util.List<java.lang.String> values,
int valuesIndex,
int maxValuesHeight,
TAction updateAction)
Public constructor.
|
TDirectoryList(TWidget parent,
java.lang.String path,
int x,
int y,
int width,
int height)
Public constructor.
|
TDirectoryList(TWidget parent,
java.lang.String path,
int x,
int y,
int width,
int height,
TAction action)
Public constructor.
|
TDirectoryList(TWidget parent,
java.lang.String path,
int x,
int y,
int width,
int height,
TAction action,
TAction singleClickAction)
Public constructor.
|
TDirectoryList(TWidget parent,
java.lang.String path,
int x,
int y,
int width,
int height,
TAction action,
TAction singleClickAction,
java.util.List<java.lang.String> filters)
Public constructor.
|
TEditorWidget(TWidget parent,
java.lang.String text,
int x,
int y,
int width,
int height)
Public constructor.
|
TField(TWidget parent,
int x,
int y,
int width,
boolean fixed)
Public constructor.
|
TField(TWidget parent,
int x,
int y,
int width,
boolean fixed,
java.lang.String text)
Public constructor.
|
TField(TWidget parent,
int x,
int y,
int width,
boolean fixed,
java.lang.String text,
TAction enterAction,
TAction updateAction)
Public constructor.
|
THScroller(TWidget parent,
int x,
int y,
int width)
Public constructor.
|
TImage(TWidget parent,
int x,
int y,
int width,
int height,
java.awt.image.BufferedImage image,
int left,
int top)
Public constructor.
|
TImage(TWidget parent,
int x,
int y,
int width,
int height,
java.awt.image.BufferedImage image,
int left,
int top,
TAction clickAction)
Public constructor.
|
TLabel(TWidget parent,
java.lang.String text,
int x,
int y)
Public constructor, using the default "tlabel" for colorKey.
|
TLabel(TWidget parent,
java.lang.String text,
int x,
int y,
java.lang.String colorKey)
Public constructor.
|
TLabel(TWidget parent,
java.lang.String text,
int x,
int y,
java.lang.String colorKey,
boolean useWindowBackground)
Public constructor.
|
TLabel(TWidget parent,
java.lang.String text,
int x,
int y,
java.lang.String colorKey,
boolean useWindowBackground,
TAction action)
Public constructor.
|
TLabel(TWidget parent,
java.lang.String text,
int x,
int y,
java.lang.String colorKey,
TAction action)
Public constructor.
|
TLabel(TWidget parent,
java.lang.String text,
int x,
int y,
TAction action)
Public constructor, using the default "tlabel" for colorKey.
|
TList(TWidget parent,
java.util.List<java.lang.String> strings,
int x,
int y,
int width,
int height)
Public constructor.
|
TList(TWidget parent,
java.util.List<java.lang.String> strings,
int x,
int y,
int width,
int height,
TAction enterAction)
Public constructor.
|
TList(TWidget parent,
java.util.List<java.lang.String> strings,
int x,
int y,
int width,
int height,
TAction enterAction,
TAction moveAction)
Public constructor.
|
TList(TWidget parent,
java.util.List<java.lang.String> strings,
int x,
int y,
int width,
int height,
TAction enterAction,
TAction moveAction,
TAction singleClickAction)
Public constructor.
|
TPanel(TWidget parent,
int x,
int y,
int width,
int height)
Public constructor.
|
TPasswordField(TWidget parent,
int x,
int y,
int width,
boolean fixed)
Public constructor.
|
TPasswordField(TWidget parent,
int x,
int y,
int width,
boolean fixed,
java.lang.String text)
Public constructor.
|
TPasswordField(TWidget parent,
int x,
int y,
int width,
boolean fixed,
java.lang.String text,
TAction enterAction,
TAction updateAction)
Public constructor.
|
TProgressBar(TWidget parent,
int x,
int y,
int width,
int value)
Public constructor.
|
TRadioGroup(TWidget parent,
int x,
int y,
java.lang.String label)
Public constructor.
|
TScrollableWidget(TWidget parent)
Protected constructor.
|
TScrollableWidget(TWidget parent,
boolean enabled)
Protected constructor used by subclasses that are disabled by default.
|
TScrollableWidget(TWidget parent,
boolean enabled,
int x,
int y,
int width,
int height)
Protected constructor used by subclasses that are disabled by default.
|
TScrollableWidget(TWidget parent,
int x,
int y,
int width,
int height)
Protected constructor.
|
TSpinner(TWidget parent,
int x,
int y,
TAction upAction,
TAction downAction)
Public constructor.
|
TSplitPane(TWidget parent,
int x,
int y,
int width,
int height,
boolean vertical)
Public constructor.
|
TTableWidget(TWidget parent,
int x,
int y,
int width,
int height)
Public constructor.
|
TTableWidget(TWidget parent,
int x,
int y,
int width,
int height,
int gridColumns,
int gridRows)
Public constructor.
|
TTerminalWidget(TWidget parent,
int x,
int y)
Public constructor spawns a shell.
|
TTerminalWidget(TWidget parent,
int x,
int y,
int width,
int height,
java.lang.String[] command,
TAction closeAction)
Public constructor spawns a custom command line.
|
TTerminalWidget(TWidget parent,
int x,
int y,
int width,
int height,
TAction closeAction)
Public constructor spawns a shell.
|
TTerminalWidget(TWidget parent,
int x,
int y,
java.lang.String commandLine)
Public constructor spawns a custom command line.
|
TTerminalWidget(TWidget parent,
int x,
int y,
java.lang.String[] command)
Public constructor spawns a custom command line.
|
TTerminalWidget(TWidget parent,
int x,
int y,
java.lang.String[] command,
TAction closeAction)
Public constructor spawns a custom command line.
|
TTerminalWidget(TWidget parent,
int x,
int y,
TAction closeAction)
Public constructor spawns a shell.
|
TText(TWidget parent,
java.lang.String text,
int x,
int y,
int width,
int height)
Public constructor.
|
TText(TWidget parent,
java.lang.String text,
int x,
int y,
int width,
int height,
java.lang.String colorKey)
Public constructor.
|
TVScroller(TWidget parent,
int x,
int y,
int height)
Public constructor.
|
TWidget(TWidget parent)
Protected constructor.
|
TWidget(TWidget parent,
boolean enabled)
Protected constructor used by subclasses that are disabled by default.
|
TWidget(TWidget parent,
boolean enabled,
int x,
int y,
int width,
int height)
Protected constructor used by subclasses that are disabled by default.
|
TWidget(TWidget parent,
int x,
int y,
int width,
int height)
Protected constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
TWindowBackend
TWindowBackend uses a window in one TApplication to provide a backend for
another TApplication.
|
Modifier and Type | Class and Description |
---|---|
class |
DemoCheckBoxWindow
This window demonstates the TRadioGroup, TRadioButton, and TCheckBox
widgets.
|
class |
DemoEditorWindow
This window demonstates the TEditor widget.
|
class |
DemoMainWindow
This is the main "demo" application window.
|
class |
DemoMsgBoxWindow
This window demonstates the TMessageBox and TInputBox widgets.
|
class |
DemoTableWindow
This window demonstates the TTable widget.
|
class |
DemoTextFieldWindow
This window demonstates the TField and TPasswordField widgets.
|
class |
DemoTextWindow
This window demonstates the TText, THScroller, and TVScroller widgets.
|
class |
DemoTreeViewWindow
This window demonstates the TTreeView widget.
|
class |
DesktopDemo
The modified desktop.
|
Modifier and Type | Method and Description |
---|---|
void |
BoxLayoutManager.add(TWidget child)
Add a child widget to manage.
|
void |
LayoutManager.add(TWidget child)
Add a child widget to manage.
|
void |
StretchLayoutManager.add(TWidget child)
Add a child widget to manage.
|
void |
BoxLayoutManager.remove(TWidget child)
Remove a child widget from those managed by this LayoutManager.
|
void |
LayoutManager.remove(TWidget child)
Remove a child widget from those managed by this LayoutManager.
|
void |
StretchLayoutManager.remove(TWidget child)
Remove a child widget from those managed by this LayoutManager.
|
void |
BoxLayoutManager.resetSize(TWidget child)
Reset a child widget's original/preferred size.
|
void |
LayoutManager.resetSize(TWidget child)
Reset a child widget's original/preferred size.
|
void |
StretchLayoutManager.resetSize(TWidget child)
Reset a child widget's original/preferred size.
|
Modifier and Type | Class and Description |
---|---|
class |
TMenu
TMenu is a top-level collection of TMenuItems.
|
class |
TMenuItem
TMenuItem implements a menu item.
|
class |
TMenuSeparator
TMenuSeparator is a special case menu item.
|
class |
TSubMenu
TSubMenu is a special case menu item that wraps another TMenu.
|
Modifier and Type | Method and Description |
---|---|
TWidget |
TSubMenu.getActiveChild()
Returns my active widget.
|
Modifier and Type | Class and Description |
---|---|
class |
TDirectoryTreeItem
TDirectoryTreeItem is a single item in a disk directory tree view.
|
class |
TTreeItem
TTreeItem is a single item in a tree view.
|
class |
TTreeView
TTreeView implements a simple tree view.
|
class |
TTreeViewWidget
TTreeViewWidget wraps a tree view with horizontal and vertical scrollbars.
|
class |
TTreeViewWindow
TTreeViewWindow wraps a tree view with horizontal and vertical scrollbars
in a standalone window.
|
Constructor and Description |
---|
TTreeView(TWidget parent,
int x,
int y,
int width,
int height)
Public constructor.
|
TTreeView(TWidget parent,
int x,
int y,
int width,
int height,
TAction action)
Public constructor.
|
TTreeViewWidget(TWidget parent,
int x,
int y,
int width,
int height)
Public constructor.
|
TTreeViewWidget(TWidget parent,
int x,
int y,
int width,
int height,
TAction action)
Public constructor.
|
Copyright © 2019 Kevin Lamonte. Licensed MIT.