Package jexer.menu
Class TMenu
- java.lang.Object
-
- jexer.TWidget
-
- jexer.TWindow
-
- jexer.menu.TMenu
-
-
Field Summary
Fields Modifier and Type Field Description static intMID_ABOUTShow "About Application" dialog.static intMID_CASCADECascade windows.static intMID_CLEARClear selected text without copying it to the clipboard.static intMID_CLOSE_ALLClose all windows.static intMID_COPYCopy selected text to clipboard.static intMID_CUTCut selected text and copy to the clipboard.static intMID_EXITExit application.static intMID_FINDFind.static intMID_GOTO_LINEGo to line number.static intMID_HELP_ACTIVE_FILEHelp system - Change active help file.static intMID_HELP_CONTENTSHelp system - Table of Contents.static intMID_HELP_HELPHelp system - Help on help.static intMID_HELP_INDEXHelp system - Index.static intMID_HELP_PREVIOUSHelp system - Previous topic.static intMID_HELP_SEARCHHelp system - Topic search.static intMID_NEWNew file/documentstatic intMID_OPEN_FILEFile open dialog.static intMID_PASTEPaste from clipboard.static intMID_QUITExit application.static intMID_REDORedo last undone edit.static intMID_REPAINTRepaint desktop.static intMID_REPLACEReplace.static intMID_SCREEN_OPTIONSScreen options.static intMID_SEARCH_AGAINSearch again.static intMID_SHELLOS shell.static intMID_TABLE_BORDER_ALLSet all borders for the entire table.static intMID_TABLE_BORDER_BOTTOMSet bottom border for selected cell.static intMID_TABLE_BORDER_CELL_ALLSet all borders for selected cell.static intMID_TABLE_BORDER_CELL_NONERemove all borders for selected cell.static intMID_TABLE_BORDER_DOUBLE_BOTTOMSet double-line bottom border for selected cell.static intMID_TABLE_BORDER_LEFTSet left border for selected cell.static intMID_TABLE_BORDER_NONERemove all borders for the entire table.static intMID_TABLE_BORDER_RIGHTSet right border for selected cell.static intMID_TABLE_BORDER_THICK_BOTTOMSet thick bottom border for selected cell.static intMID_TABLE_BORDER_TOPSet top border for selected cell.static intMID_TABLE_COLUMN_NARROWNarrow column width of selected cell.static intMID_TABLE_COLUMN_WIDENExpand column width of selected cell.static intMID_TABLE_DELETE_COLUMNDelete selected column.static intMID_TABLE_DELETE_LEFTDelete selected cell, shifting cells left.static intMID_TABLE_DELETE_ROWDelete selected row.static intMID_TABLE_DELETE_UPDelete selected cell, shifting cells up.static intMID_TABLE_FILE_OPEN_CSVOpen comma-separated-values (CSV) file as new table window.static intMID_TABLE_FILE_SAVE_CSVSave entire table to comma-separated-values (CSV) file.static intMID_TABLE_FILE_SAVE_TEXTSave entire table to text file.static intMID_TABLE_INSERT_ABOVEInsert row above selected cell.static intMID_TABLE_INSERT_BELOWInsert row below selected cell.static intMID_TABLE_INSERT_LEFTInsert column to the left of selected cell.static intMID_TABLE_INSERT_RIGHTInsert column to the right of selected cell.static intMID_TABLE_RENAME_COLUMNRename column.static intMID_TABLE_RENAME_ROWRename row.static intMID_TABLE_VIEW_COLUMN_LABELSShow/hide column labels.static intMID_TABLE_VIEW_HIGHLIGHT_COLUMNEnable/disable highlight selected column.static intMID_TABLE_VIEW_HIGHLIGHT_ROWEnable/disable highlight selected row.static intMID_TABLE_VIEW_ROW_LABELSShow/hide row labels.static intMID_TILETile windows.static intMID_UNDOUndo last edit.static intMID_UNUSEDA menu item that will not generate a TMenuEvent.static intMID_VIEW_ANSIView ASCII/ANSI file.static intMID_VIEW_IMAGEOpen image.static intMID_WINDOW_CLOSEClose window.static intMID_WINDOW_MOVESize/move window.static intMID_WINDOW_NEXTNext window (like Alt-TAB).static intMID_WINDOW_PREVIOUSPrevious window (like Shift-Alt-TAB).static intMID_WINDOW_ZOOMMove (move/resize) window.-
Fields inherited from class jexer.TWindow
ABSOLUTEXY, borderStyleActive, borderStyleActiveModal, borderStyleInactive, borderStyleMoving, CENTERED, helpTopic, HIDEONCLOSE, inKeyboardResize, inWindowMove, inWindowResize, MODAL, mouse, NOCLOSEBOX, NOZOOMBOX, overlay, OVERRIDEMENU, RESIZABLE, statusBar, underlay
-
-
Constructor Summary
Constructors Constructor Description TMenu(TApplication parent, int x, int y, java.lang.String label)Public constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TMenuItemaddDefaultItem(int id)Convenience function to add one of the default menu items.TMenuItemaddDefaultItem(int id, boolean enabled)Convenience function to add one of the default menu items.TMenuItemaddItem(int id, java.lang.String label)Convenience function to add a menu item.TMenuItemaddItem(int id, java.lang.String label, boolean enabled)Convenience function to add a menu item.TMenuItemaddItem(int id, java.lang.String label, TKeypress key)Convenience function to add a custom menu item.TMenuItemaddItem(int id, java.lang.String label, TKeypress key, boolean enabled)Convenience function to add a custom menu item.voidaddSeparator()Convenience function to add a menu separator.TSubMenuaddSubMenu(java.lang.String title)Convenience function to add a sub-menu.voiddraw()Draw a top-level menu with title and menu items.MnemonicStringgetMnemonic()Get the mnemonic string.intgetTitleX()Get the menu title X position.booleanisContext()Get the context flag.voidonKeypress(TKeypressEvent keypress)Handle keystrokes.voidonMouseDown(TMouseEvent mouse)Handle mouse button presses.voidonMouseMotion(TMouseEvent mouse)Handle mouse movements.voidonMouseUp(TMouseEvent mouse)Handle mouse button releases.protected voidresetTabOrder()Reset the tab order of children to match their position in the list.voidsetBorderStyleForeground(java.lang.String borderStyle)Set the border style for the window when it is the foreground window.voidsetBorderStyleInactive(java.lang.String borderStyle)Set the border style for the window when it is an inactive/background window.voidsetBorderStyleModal(java.lang.String borderStyle)Set the border style for the window when it is the modal window.voidsetBorderStyleMoving(java.lang.String borderStyle)Set the border style for the window when it is being dragged/resize.voidsetContext(boolean context)Set the context flag.voidsetContext(boolean context, int x, int y)Set the context flag, used to open a context menu at a specific screen position.voidsetTitleX(int titleX)Set the menu title X position.-
Methods inherited from class jexer.TWindow
activate, addOverlay, addShortcutKeypress, addUnderlay, center, clearShortcutKeypresses, close, disableCloseEffect, disableOpenEffect, ensureOnScreen, getAlpha, getApplication, getBackground, getBorder, getBorderControls, getBorderStyle, getBorderStyleForeground, getBorderStyleInactive, getBorderStyleModal, getBorderStyleMoving, getHelpTopic, getMaximumWindowHeight, getMaximumWindowWidth, getMinimumWindowHeight, getMinimumWindowWidth, getMouseStyle, getScreen, getStatusBar, getTitle, getWindowTheme, getZ, hasCloseBox, hasHiddenMouse, hasOverriddenMenu, hasZoomBox, hide, inMovements, isHidden, isModal, isResizable, isShortcutKeypress, isShown, maximize, mouseOnClose, mouseOnMaximize, mouseOnResize, newStatusBar, onClose, onCommand, onFocus, onHide, onMenu, onPostDraw, onPreClose, onResize, onShow, onUnfocus, removeShortcutKeypress, restore, setAlpha, setCloseBox, setHiddenMouse, setMaximumWindowHeight, setMaximumWindowWidth, setMinimumWindowHeight, setMinimumWindowWidth, setResizable, setTackboardsDirty, setTitle, setWindowTheme, setZ, setZoomBox, show, stopMovements, toString
-
Methods inherited from class jexer.TWidget
activate, activate, activateAll, addButton, addCalendar, addCheckBox, addCheckBox, addComboBox, addDirectoryList, addDirectoryList, addDirectoryList, addDirectoryList, addEditor, addField, addField, addField, addField, addImage, addImage, addImage, addImage, addLabel, addLabel, addLabel, addLabel, addLabel, addLabel, addList, addList, addList, addList, addPanel, addPasswordField, addPasswordField, addPasswordField, addProgressBar, addRadioGroup, addRadioGroup, addSpinner, addSplitPane, addTable, addTable, addText, addText, addTreeViewWidget, addTreeViewWidget, compareTo, doRepaint, drawBox, drawBox, drawBoxShadow, drawChildren, fileOpenBox, fileOpenBox, fileOpenBox, fileOpenBox, fileSaveBox, getAbsoluteX, getAbsoluteY, getActiveChild, getAttrXY, getChildren, getClipboard, getCursorAbsoluteX, getCursorAbsoluteY, getCursorX, getCursorY, getCustomMousePointer, getHeight, getLayoutManager, getLocale, getParent, getTheme, getWidgetUnderMouse, getWidth, getWindow, getX, getY, handleEvent, hasChild, hLineXY, hLineXY, inputBox, inputBox, inputBox, isAbsoluteActive, isActive, isCursorVisible, isDrawable, isEchoKeystrokes, isEnabled, isPixelMouse, isVisible, messageBox, messageBox, mouseWouldHit, onIdle, onMouseDoubleClick, putAll, putAttrXY, putAttrXY, putCharXY, putCharXY, putCharXY, putStringXY, putStringXY, remove, remove, remove, remove, removeAll, setActive, setCursorVisible, setCursorX, setCursorY, setCustomMousePointer, setDimensions, setEchoKeystrokes, setEchoKeystrokes, setEnabled, setHeight, setLayoutManager, setLocale, setMouseStyle, setParent, setupForTWindow, setVisible, setWidth, setWindow, setX, setY, splitHorizontal, splitVertical, switchWidget, toPrettyString, toPrettyString, vLineXY, vLineXY
-
-
-
-
Field Detail
-
MID_UNUSED
public static final int MID_UNUSED
A menu item that will not generate a TMenuEvent.- See Also:
- Constant Field Values
-
MID_REPAINT
public static final int MID_REPAINT
Repaint desktop.- See Also:
- Constant Field Values
-
MID_VIEW_IMAGE
public static final int MID_VIEW_IMAGE
Open image.- See Also:
- Constant Field Values
-
MID_VIEW_ANSI
public static final int MID_VIEW_ANSI
View ASCII/ANSI file.- See Also:
- Constant Field Values
-
MID_SCREEN_OPTIONS
public static final int MID_SCREEN_OPTIONS
Screen options.- See Also:
- Constant Field Values
-
MID_NEW
public static final int MID_NEW
New file/document- See Also:
- Constant Field Values
-
MID_EXIT
public static final int MID_EXIT
Exit application.- See Also:
- Constant Field Values
-
MID_QUIT
public static final int MID_QUIT
Exit application.- See Also:
- Constant Field Values
-
MID_OPEN_FILE
public static final int MID_OPEN_FILE
File open dialog.- See Also:
- Constant Field Values
-
MID_SHELL
public static final int MID_SHELL
OS shell.- See Also:
- Constant Field Values
-
MID_UNDO
public static final int MID_UNDO
Undo last edit.- See Also:
- Constant Field Values
-
MID_REDO
public static final int MID_REDO
Redo last undone edit.- See Also:
- Constant Field Values
-
MID_CUT
public static final int MID_CUT
Cut selected text and copy to the clipboard.- See Also:
- Constant Field Values
-
MID_COPY
public static final int MID_COPY
Copy selected text to clipboard.- See Also:
- Constant Field Values
-
MID_PASTE
public static final int MID_PASTE
Paste from clipboard.- See Also:
- Constant Field Values
-
MID_CLEAR
public static final int MID_CLEAR
Clear selected text without copying it to the clipboard.- See Also:
- Constant Field Values
-
MID_FIND
public static final int MID_FIND
Find.- See Also:
- Constant Field Values
-
MID_REPLACE
public static final int MID_REPLACE
Replace.- See Also:
- Constant Field Values
-
MID_SEARCH_AGAIN
public static final int MID_SEARCH_AGAIN
Search again.- See Also:
- Constant Field Values
-
MID_GOTO_LINE
public static final int MID_GOTO_LINE
Go to line number.- See Also:
- Constant Field Values
-
MID_TILE
public static final int MID_TILE
Tile windows.- See Also:
- Constant Field Values
-
MID_CASCADE
public static final int MID_CASCADE
Cascade windows.- See Also:
- Constant Field Values
-
MID_CLOSE_ALL
public static final int MID_CLOSE_ALL
Close all windows.- See Also:
- Constant Field Values
-
MID_WINDOW_MOVE
public static final int MID_WINDOW_MOVE
Size/move window.- See Also:
- Constant Field Values
-
MID_WINDOW_ZOOM
public static final int MID_WINDOW_ZOOM
Move (move/resize) window.- See Also:
- Constant Field Values
-
MID_WINDOW_NEXT
public static final int MID_WINDOW_NEXT
Next window (like Alt-TAB).- See Also:
- Constant Field Values
-
MID_WINDOW_PREVIOUS
public static final int MID_WINDOW_PREVIOUS
Previous window (like Shift-Alt-TAB).- See Also:
- Constant Field Values
-
MID_WINDOW_CLOSE
public static final int MID_WINDOW_CLOSE
Close window.- See Also:
- Constant Field Values
-
MID_HELP_CONTENTS
public static final int MID_HELP_CONTENTS
Help system - Table of Contents.- See Also:
- Constant Field Values
-
MID_HELP_INDEX
public static final int MID_HELP_INDEX
Help system - Index.- See Also:
- Constant Field Values
-
MID_HELP_SEARCH
public static final int MID_HELP_SEARCH
Help system - Topic search.- See Also:
- Constant Field Values
-
MID_HELP_PREVIOUS
public static final int MID_HELP_PREVIOUS
Help system - Previous topic.- See Also:
- Constant Field Values
-
MID_HELP_HELP
public static final int MID_HELP_HELP
Help system - Help on help.- See Also:
- Constant Field Values
-
MID_HELP_ACTIVE_FILE
public static final int MID_HELP_ACTIVE_FILE
Help system - Change active help file.- See Also:
- Constant Field Values
-
MID_ABOUT
public static final int MID_ABOUT
Show "About Application" dialog.- See Also:
- Constant Field Values
-
MID_TABLE_RENAME_ROW
public static final int MID_TABLE_RENAME_ROW
Rename row.- See Also:
- Constant Field Values
-
MID_TABLE_RENAME_COLUMN
public static final int MID_TABLE_RENAME_COLUMN
Rename column.- See Also:
- Constant Field Values
-
MID_TABLE_VIEW_ROW_LABELS
public static final int MID_TABLE_VIEW_ROW_LABELS
Show/hide row labels.- See Also:
- Constant Field Values
-
MID_TABLE_VIEW_COLUMN_LABELS
public static final int MID_TABLE_VIEW_COLUMN_LABELS
Show/hide column labels.- See Also:
- Constant Field Values
-
MID_TABLE_VIEW_HIGHLIGHT_ROW
public static final int MID_TABLE_VIEW_HIGHLIGHT_ROW
Enable/disable highlight selected row.- See Also:
- Constant Field Values
-
MID_TABLE_VIEW_HIGHLIGHT_COLUMN
public static final int MID_TABLE_VIEW_HIGHLIGHT_COLUMN
Enable/disable highlight selected column.- See Also:
- Constant Field Values
-
MID_TABLE_BORDER_NONE
public static final int MID_TABLE_BORDER_NONE
Remove all borders for the entire table.- See Also:
- Constant Field Values
-
MID_TABLE_BORDER_ALL
public static final int MID_TABLE_BORDER_ALL
Set all borders for the entire table.- See Also:
- Constant Field Values
-
MID_TABLE_BORDER_CELL_NONE
public static final int MID_TABLE_BORDER_CELL_NONE
Remove all borders for selected cell.- See Also:
- Constant Field Values
-
MID_TABLE_BORDER_CELL_ALL
public static final int MID_TABLE_BORDER_CELL_ALL
Set all borders for selected cell.- See Also:
- Constant Field Values
-
MID_TABLE_BORDER_RIGHT
public static final int MID_TABLE_BORDER_RIGHT
Set right border for selected cell.- See Also:
- Constant Field Values
-
MID_TABLE_BORDER_LEFT
public static final int MID_TABLE_BORDER_LEFT
Set left border for selected cell.- See Also:
- Constant Field Values
-
MID_TABLE_BORDER_TOP
public static final int MID_TABLE_BORDER_TOP
Set top border for selected cell.- See Also:
- Constant Field Values
-
MID_TABLE_BORDER_BOTTOM
public static final int MID_TABLE_BORDER_BOTTOM
Set bottom border for selected cell.- See Also:
- Constant Field Values
-
MID_TABLE_BORDER_DOUBLE_BOTTOM
public static final int MID_TABLE_BORDER_DOUBLE_BOTTOM
Set double-line bottom border for selected cell.- See Also:
- Constant Field Values
-
MID_TABLE_BORDER_THICK_BOTTOM
public static final int MID_TABLE_BORDER_THICK_BOTTOM
Set thick bottom border for selected cell.- See Also:
- Constant Field Values
-
MID_TABLE_DELETE_LEFT
public static final int MID_TABLE_DELETE_LEFT
Delete selected cell, shifting cells left.- See Also:
- Constant Field Values
-
MID_TABLE_DELETE_UP
public static final int MID_TABLE_DELETE_UP
Delete selected cell, shifting cells up.- See Also:
- Constant Field Values
-
MID_TABLE_DELETE_ROW
public static final int MID_TABLE_DELETE_ROW
Delete selected row.- See Also:
- Constant Field Values
-
MID_TABLE_DELETE_COLUMN
public static final int MID_TABLE_DELETE_COLUMN
Delete selected column.- See Also:
- Constant Field Values
-
MID_TABLE_INSERT_LEFT
public static final int MID_TABLE_INSERT_LEFT
Insert column to the left of selected cell.- See Also:
- Constant Field Values
-
MID_TABLE_INSERT_RIGHT
public static final int MID_TABLE_INSERT_RIGHT
Insert column to the right of selected cell.- See Also:
- Constant Field Values
-
MID_TABLE_INSERT_ABOVE
public static final int MID_TABLE_INSERT_ABOVE
Insert row above selected cell.- See Also:
- Constant Field Values
-
MID_TABLE_INSERT_BELOW
public static final int MID_TABLE_INSERT_BELOW
Insert row below selected cell.- See Also:
- Constant Field Values
-
MID_TABLE_COLUMN_NARROW
public static final int MID_TABLE_COLUMN_NARROW
Narrow column width of selected cell.- See Also:
- Constant Field Values
-
MID_TABLE_COLUMN_WIDEN
public static final int MID_TABLE_COLUMN_WIDEN
Expand column width of selected cell.- See Also:
- Constant Field Values
-
MID_TABLE_FILE_OPEN_CSV
public static final int MID_TABLE_FILE_OPEN_CSV
Open comma-separated-values (CSV) file as new table window.- See Also:
- Constant Field Values
-
MID_TABLE_FILE_SAVE_CSV
public static final int MID_TABLE_FILE_SAVE_CSV
Save entire table to comma-separated-values (CSV) file.- See Also:
- Constant Field Values
-
MID_TABLE_FILE_SAVE_TEXT
public static final int MID_TABLE_FILE_SAVE_TEXT
Save entire table to text file.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TMenu
public TMenu(TApplication parent, int x, int y, java.lang.String label)
Public constructor.- Parameters:
parent- parent applicationx- column relative to parenty- row relative to parentlabel- mnemonic menu title. Label must contain a keyboard shortcut (mnemonic), denoted by prefixing a letter with "&", e.g. "&File"
-
-
Method Detail
-
onMouseDown
public void onMouseDown(TMouseEvent mouse)
Handle mouse button presses.- Overrides:
onMouseDownin classTWindow- Parameters:
mouse- mouse button event
-
onMouseUp
public void onMouseUp(TMouseEvent mouse)
Handle mouse button releases.
-
onMouseMotion
public void onMouseMotion(TMouseEvent mouse)
Handle mouse movements.- Overrides:
onMouseMotionin classTWindow- Parameters:
mouse- mouse motion event
-
onKeypress
public void onKeypress(TKeypressEvent keypress)
Handle keystrokes.- Overrides:
onKeypressin classTWindow- Parameters:
keypress- keystroke event
-
draw
public void draw()
Draw a top-level menu with title and menu items.
-
setTitleX
public void setTitleX(int titleX)
Set the menu title X position.- Parameters:
titleX- the position
-
getTitleX
public int getTitleX()
Get the menu title X position.- Returns:
- the position
-
getMnemonic
public MnemonicString getMnemonic()
Get the mnemonic string.- Returns:
- the full mnemonic string
-
isContext
public boolean isContext()
Get the context flag.- Returns:
- true if this menu is a right-click context menu
-
setContext
public void setContext(boolean context, int x, int y)Set the context flag, used to open a context menu at a specific screen position.- Parameters:
context- if true, this is a context menux- the screen X positiony- the screen Y position
-
setContext
public void setContext(boolean context)
Set the context flag.- Parameters:
context- if true, this is a context menu
-
addItem
public TMenuItem addItem(int id, java.lang.String label)
Convenience function to add a menu item.- Parameters:
id- menu item ID. Must be greater than 1024.label- menu item label- Returns:
- the new menu item
-
addItem
public TMenuItem addItem(int id, java.lang.String label, boolean enabled)
Convenience function to add a menu item.- Parameters:
id- menu item ID. Must be greater than 1024.label- menu item labelenabled- default state for enabled- Returns:
- the new menu item
-
addItem
public TMenuItem addItem(int id, java.lang.String label, TKeypress key)
Convenience function to add a custom menu item.- Parameters:
id- menu item ID. Must be greater than 1024.label- menu item labelkey- global keyboard accelerator- Returns:
- the new menu item
-
addItem
public TMenuItem addItem(int id, java.lang.String label, TKeypress key, boolean enabled)
Convenience function to add a custom menu item.- Parameters:
id- menu item ID. Must be greater than 1024.label- menu item labelkey- global keyboard acceleratorenabled- default state for enabled- Returns:
- the new menu item
-
addDefaultItem
public TMenuItem addDefaultItem(int id)
Convenience function to add one of the default menu items.- Parameters:
id- menu item ID. Must be between 0 (inclusive) and 1023 (inclusive).- Returns:
- the new menu item
-
addDefaultItem
public TMenuItem addDefaultItem(int id, boolean enabled)
Convenience function to add one of the default menu items.- Parameters:
id- menu item ID. Must be between 0 (inclusive) and 1023 (inclusive).enabled- default state for enabled- Returns:
- the new menu item
-
addSeparator
public void addSeparator()
Convenience function to add a menu separator.
-
addSubMenu
public TSubMenu addSubMenu(java.lang.String title)
Convenience function to add a sub-menu.- Parameters:
title- menu title. Title must contain a keyboard shortcut, denoted by prefixing a letter with "&", e.g. "&File"- Returns:
- the new sub-menu
-
resetTabOrder
protected void resetTabOrder()
Reset the tab order of children to match their position in the list. Available so that subclasses can re-order their widgets if needed.- Overrides:
resetTabOrderin classTWidget
-
setBorderStyleForeground
public void setBorderStyleForeground(java.lang.String borderStyle)
Set the border style for the window when it is the foreground window.- Overrides:
setBorderStyleForegroundin classTWindow- Parameters:
borderStyle- the border style string, one of: "default", "none", "single", "double", "singleVdoubleH", "singleHdoubleV", or "round"; or null to use the value from jexer.TMenu.borderStyle.
-
setBorderStyleModal
public void setBorderStyleModal(java.lang.String borderStyle)
Set the border style for the window when it is the modal window.- Overrides:
setBorderStyleModalin classTWindow- Parameters:
borderStyle- the border style string, one of: "default", "none", "single", "double", "singleVdoubleH", "singleHdoubleV", or "round"; or null to use the value from jexer.TMenu.borderStyle.
-
setBorderStyleInactive
public void setBorderStyleInactive(java.lang.String borderStyle)
Set the border style for the window when it is an inactive/background window.- Overrides:
setBorderStyleInactivein classTWindow- Parameters:
borderStyle- the border style string, one of: "default", "none", "single", "double", "singleVdoubleH", "singleHdoubleV", or "round"; or null to use the value from jexer.TMenu.borderStyle.
-
setBorderStyleMoving
public void setBorderStyleMoving(java.lang.String borderStyle)
Set the border style for the window when it is being dragged/resize.- Overrides:
setBorderStyleMovingin classTWindow- Parameters:
borderStyle- the border style string, one of: "default", "none", "single", "double", "singleVdoubleH", "singleHdoubleV", or "round"; or null to use the value from jexer.TMenu.borderStyle.
-
-