Uses of Class
jexer.TWidget
-
Packages that use TWidget Package Description jexer Jexer - Java Text User Interface libraryjexer.backend The interface between TApplication and user-facing I/O.jexer.bits Low-level data objects and utility functions that don't warrant their own separate package.jexer.demos Demonstration programs.jexer.help Online help system.jexer.layout Available layout managers.jexer.menu Menu bar support classes.jexer.ttree TTreeView and supporting classes. -
-
Uses of TWidget in jexer
Subclasses of TWidget in jexer Modifier and Type Class Description classTButtonTButton implements a simple button.classTCalendarTCalendar is a date picker widget.classTCheckBoxTCheckBox implements an on/off checkbox.classTComboBoxTComboBox implements a combobox containing a drop-down list and edit field.classTDesktopTDesktop is a special-class window that is drawn underneath everything else.classTDirectoryListTDirectoryList shows the files within a directory.classTEditColorThemeWindowTEditColorThemeWindow provides an easy UI for users to alter the running color theme.classTEditorWidgetTEditorWidget displays an editable text document.classTEditorWindowTEditorWindow is a basic text file editor.classTExceptionDialogTExceptionDialog displays an exception and its stack trace to the user, and provides a means to save a troubleshooting report for support.classTFieldTField implements an editable text field.classTFileOpenBoxTFileOpenBox is a system-modal dialog for selecting a file to open.classTHelpWindowTHelpWindowclassTHScrollerTHScroller implements a simple horizontal scroll bar.classTImageTImage renders a piece of a bitmap image or an animated image on screen.classTImageWindowTImageWindow shows an image with scrollbars.classTInputBoxTInputBox is a system-modal dialog with an OK button and a text input field.classTLabelTLabel implements a simple label, with an optional mnemonic hotkey action associated with it.classTListTList shows a list of strings, and lets the user select one.classTMessageBoxTMessageBox is a system-modal dialog with buttons for OK, Cancel, Yes, or No.classTPanelTPanel is an empty container for other widgets.classTPasswordFieldTPasswordField implements an editable text field that displays stars/asterisks when it is not active.classTProgressBarTProgressBar implements a simple progress bar.classTRadioButtonTRadioButton implements a selectable radio button.classTRadioGroupTRadioGroup is a collection of TRadioButtons with a box and label.classTScreenOptionsWindowTScreenOptionsWindow provides an easy UI for users to alter the running screen options such as fonts and images.classTScrollableWidgetTScrollableWidget is a convenience superclass for widgets that have scrollbars.classTScrollableWindowTScrollableWindow is a convenience superclass for windows that have scrollbars.classTSpinnerTSpinner implements a simple up/down spinner.classTSplitPaneTSplitPane contains two widgets with a draggable horizontal or vertical bar between them.classTStatusBarTStatusBar implements a status line with clickable buttons.classTTableWidgetTTableWidget is used to display and edit regular two-dimensional tables of cells.classTTableWidget.CellCell represents an editable cell in the table.classTTableWindowTTableWindow is used to display and edit regular two-dimensional tables of cells.classTTerminalWidgetTTerminalWidget exposes a ECMA-48 / ANSI X3.64 style terminal in a widget.classTTerminalWindowTTerminalWindow exposes a ECMA-48 / ANSI X3.64 style terminal in a window.classTTextTText implements a simple scrollable text area.classTTextPictureTTextPicture displays a color-and-text canvas, also called "ANSI Art" or "ASCII Art".classTTextPictureWindowTTextPictureWindow shows an ASCII/ANSI art file with scrollbars.classTVScrollerTVScroller implements a simple vertical scroll bar.classTWindowTWindow is the top-level container and drawing surface for other widgets.Fields in jexer declared as TWidget Modifier and Type Field Description TWidgetTAction. sourceThe widget that called this action's DO() method.Methods in jexer that return TWidget Modifier and Type Method Description TWidgetTWidget. getActiveChild()Returns my active widget.TWidgetTSplitPane. getBottom()Get the widget on the bottom side.TWidgetTSplitPane. getLeft()Get the widget on the left side.TWidgetTWidget. getParent()Get parent widget.TWidgetTSplitPane. getRight()Get the widget on the right side.TWidgetTSplitPane. getTop()Get the widget on the top side.TWidgetTWidget. getWidgetUnderMouse(TMouseEvent mouse)Returns the widget under the mouse.TWidgetTSplitPane. removeSplit(TWidget widgetToRemove, boolean doClose)Remove this split, removing the widget specified.Methods in jexer that return types with arguments of type TWidget Modifier and Type Method Description java.util.List<TWidget>TWidget. getChildren()Get the list of child widgets that this widget contains.Methods in jexer with parameters of type TWidget Modifier and Type Method Description voidTWidget. activate(TWidget child)Switch the active child.intTWidget. compareTo(TWidget that)Comparison operator.voidTAction. DO(TWidget source)Call DO() with source widget set.voidTAction. DO(TWidget source, java.lang.Object data)Call DO() with source widget and data set.voidTApplication. enableSecondaryEventReceiver(TWidget widget)Enable a widget to override the primary event thread.booleanTWidget. hasChild(TWidget child)See if a widget is a child of this widget.voidTWidget. remove(TWidget child)Remove a child widget from this container.voidTWidget. remove(TWidget child, boolean doClose)Remove a child widget from this container.voidTWidget. removeAll(TWidget child, boolean doClose)Remove a child widget from this container, and all of its children recursively from their parent containers.TWidgetTSplitPane. removeSplit(TWidget widgetToRemove, boolean doClose)Remove this split, removing the widget specified.voidTSplitPane. removeWidget(TWidget widget)Remove a widget, regardless of what pane it is on.voidTSplitPane. replaceWidget(TWidget oldWidget, TWidget newWidget)Replace a widget, regardless of what pane it is on, with another widget.voidTSplitPane. setBottom(TWidget bottom)Set the widget on the bottom side.voidTSplitPane. setLeft(TWidget left)Set the widget on the left side.voidTWidget. setParent(TWidget newParent, boolean doClose)Set this widget's parent to a different widget.voidTSplitPane. setRight(TWidget right)Set the widget on the right side.voidTSplitPane. setTop(TWidget top)Set the widget on the top side.TSplitPaneTWidget. 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.TSplitPaneTWidget. 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.Constructors in jexer with parameters of type TWidget Constructor 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.TCheckBox(TWidget parent, int x, int y, java.lang.String label, boolean checked, TAction action)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)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.TImage(TWidget parent, int x, int y, int width, int height, Animation animation, int left, int top)Public constructor.TImage(TWidget parent, int x, int y, int width, int height, Animation animation, 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, int width, java.lang.String label)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.TTextPicture(TWidget parent, java.lang.String filename, int x, int y, int width, int height)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. -
Uses of TWidget in jexer.backend
Subclasses of TWidget in jexer.backend Modifier and Type Class Description classTWindowBackendTWindowBackend uses a window in one TApplication to provide a backend for another TApplication. -
Uses of TWidget in jexer.bits
Method parameters in jexer.bits with type arguments of type TWidget Modifier and Type Method Description static voidWidgetUtils. tileWidgets(java.util.List<? extends TWidget> widgets, int width, int height, int topLine)Re-layout a list of widgets as non-overlapping tiles into a rectangular space. -
Uses of TWidget in jexer.demos
Subclasses of TWidget in jexer.demos Modifier and Type Class Description classDemoCheckBoxWindowThis window demonstates the TRadioGroup, TRadioButton, and TCheckBox widgets.classDemoEditorWindowThis window demonstates the TEditor widget.classDemoMainWindowThis is the main "demo" application window.classDemoMsgBoxWindowThis window demonstates the TMessageBox and TInputBox widgets.classDemoPixelsWindowPixel-based operations.classDemoTableWindowThis window demonstates the TTable widget.classDemoTextFieldWindowThis window demonstates the TField and TPasswordField widgets.classDemoTextWindowThis window demonstates the TText, THScroller, and TVScroller widgets.classDemoTreeViewWindowThis window demonstates the TTreeView widget.classDesktopDemoThe modified desktop. -
Uses of TWidget in jexer.help
Subclasses of TWidget in jexer.help Modifier and Type Class Description classTHelpTextTHelpText displays help text with clickable links in a scrollable text area.classTParagraphTParagraph contains a reflowable collection of TWords, some of which are clickable links.classTWordTWord contains either a string to display or a clickable link. -
Uses of TWidget in jexer.layout
Methods in jexer.layout with parameters of type TWidget Modifier and Type Method Description voidBoxLayoutManager. add(TWidget child)Add a child widget to manage.voidLayoutManager. add(TWidget child)Add a child widget to manage.voidStretchLayoutManager. add(TWidget child)Add a child widget to manage.voidBoxLayoutManager. remove(TWidget child)Remove a child widget from those managed by this LayoutManager.voidLayoutManager. remove(TWidget child)Remove a child widget from those managed by this LayoutManager.voidStretchLayoutManager. remove(TWidget child)Remove a child widget from those managed by this LayoutManager.voidBoxLayoutManager. resetSize(TWidget child)Reset a child widget's original/preferred size.voidLayoutManager. resetSize(TWidget child)Reset a child widget's original/preferred size.voidStretchLayoutManager. resetSize(TWidget child)Reset a child widget's original/preferred size. -
Uses of TWidget in jexer.menu
Subclasses of TWidget in jexer.menu Modifier and Type Class Description classTMenuTMenu is a top-level collection of TMenuItems.classTMenuItemTMenuItem implements a menu item.classTMenuSeparatorTMenuSeparator is a special case menu item.classTSubMenuTSubMenu is a special case menu item that wraps another TMenu.Methods in jexer.menu that return TWidget Modifier and Type Method Description TWidgetTSubMenu. getActiveChild()Returns my active widget. -
Uses of TWidget in jexer.ttree
Subclasses of TWidget in jexer.ttree Modifier and Type Class Description classTDirectoryTreeItemTDirectoryTreeItem is a single item in a disk directory tree view.classTTreeItemTTreeItem is a single item in a tree view.classTTreeViewTTreeView implements a simple tree view.classTTreeViewWidgetTTreeViewWidget wraps a tree view with horizontal and vertical scrollbars.classTTreeViewWindowTTreeViewWindow wraps a tree view with horizontal and vertical scrollbars in a standalone window.Constructors in jexer.ttree with parameters of type TWidget Constructor 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.
-