Package jexer.menu
Class TMenu
- java.lang.Object
-
- jexer.TWidget
-
- jexer.TWindow
-
- jexer.menu.TMenu
-
-
Field Summary
Fields Modifier and Type Field Description static int
MID_ABOUT
Show "About Application" dialog.static int
MID_CASCADE
Cascade windows.static int
MID_CLEAR
Clear selected text without copying it to the clipboard.static int
MID_CLOSE_ALL
Close all windows.static int
MID_COPY
Copy selected text to clipboard.static int
MID_CUT
Cut selected text and copy to the clipboard.static int
MID_EXIT
Exit application.static int
MID_FIND
Find.static int
MID_GOTO_LINE
Go to line number.static int
MID_HELP_ACTIVE_FILE
Help system - Change active help file.static int
MID_HELP_CONTENTS
Help system - Table of Contents.static int
MID_HELP_HELP
Help system - Help on help.static int
MID_HELP_INDEX
Help system - Index.static int
MID_HELP_PREVIOUS
Help system - Previous topic.static int
MID_HELP_SEARCH
Help system - Topic search.static int
MID_NEW
New file/documentstatic int
MID_OPEN_FILE
File open dialog.static int
MID_PASTE
Paste from clipboard.static int
MID_QUIT
Exit application.static int
MID_REDO
Redo last undone edit.static int
MID_REPAINT
Repaint desktop.static int
MID_REPLACE
Replace.static int
MID_SCREEN_OPTIONS
Screen options.static int
MID_SEARCH_AGAIN
Search again.static int
MID_SHELL
OS shell.static int
MID_TABLE_BORDER_ALL
Set all borders for the entire table.static int
MID_TABLE_BORDER_BOTTOM
Set bottom border for selected cell.static int
MID_TABLE_BORDER_CELL_ALL
Set all borders for selected cell.static int
MID_TABLE_BORDER_CELL_NONE
Remove all borders for selected cell.static int
MID_TABLE_BORDER_DOUBLE_BOTTOM
Set double-line bottom border for selected cell.static int
MID_TABLE_BORDER_LEFT
Set left border for selected cell.static int
MID_TABLE_BORDER_NONE
Remove all borders for the entire table.static int
MID_TABLE_BORDER_RIGHT
Set right border for selected cell.static int
MID_TABLE_BORDER_THICK_BOTTOM
Set thick bottom border for selected cell.static int
MID_TABLE_BORDER_TOP
Set top border for selected cell.static int
MID_TABLE_COLUMN_NARROW
Narrow column width of selected cell.static int
MID_TABLE_COLUMN_WIDEN
Expand column width of selected cell.static int
MID_TABLE_DELETE_COLUMN
Delete selected column.static int
MID_TABLE_DELETE_LEFT
Delete selected cell, shifting cells left.static int
MID_TABLE_DELETE_ROW
Delete selected row.static int
MID_TABLE_DELETE_UP
Delete selected cell, shifting cells up.static int
MID_TABLE_FILE_OPEN_CSV
Open comma-separated-values (CSV) file as new table window.static int
MID_TABLE_FILE_SAVE_CSV
Save entire table to comma-separated-values (CSV) file.static int
MID_TABLE_FILE_SAVE_TEXT
Save entire table to text file.static int
MID_TABLE_INSERT_ABOVE
Insert row above selected cell.static int
MID_TABLE_INSERT_BELOW
Insert row below selected cell.static int
MID_TABLE_INSERT_LEFT
Insert column to the left of selected cell.static int
MID_TABLE_INSERT_RIGHT
Insert column to the right of selected cell.static int
MID_TABLE_RENAME_COLUMN
Rename column.static int
MID_TABLE_RENAME_ROW
Rename row.static int
MID_TABLE_VIEW_COLUMN_LABELS
Show/hide column labels.static int
MID_TABLE_VIEW_HIGHLIGHT_COLUMN
Enable/disable highlight selected column.static int
MID_TABLE_VIEW_HIGHLIGHT_ROW
Enable/disable highlight selected row.static int
MID_TABLE_VIEW_ROW_LABELS
Show/hide row labels.static int
MID_TILE
Tile windows.static int
MID_UNDO
Undo last edit.static int
MID_UNUSED
A menu item that will not generate a TMenuEvent.static int
MID_VIEW_ANSI
View ASCII/ANSI file.static int
MID_VIEW_IMAGE
Open image.static int
MID_WINDOW_CLOSE
Close window.static int
MID_WINDOW_MOVE
Size/move window.static int
MID_WINDOW_NEXT
Next window (like Alt-TAB).static int
MID_WINDOW_PREVIOUS
Previous window (like Shift-Alt-TAB).static int
MID_WINDOW_ZOOM
Move (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 TMenuItem
addDefaultItem(int id)
Convenience function to add one of the default menu items.TMenuItem
addDefaultItem(int id, boolean enabled)
Convenience function to add one of the default menu items.TMenuItem
addItem(int id, java.lang.String label)
Convenience function to add a menu item.TMenuItem
addItem(int id, java.lang.String label, boolean enabled)
Convenience function to add a menu item.TMenuItem
addItem(int id, java.lang.String label, TKeypress key)
Convenience function to add a custom menu item.TMenuItem
addItem(int id, java.lang.String label, TKeypress key, boolean enabled)
Convenience function to add a custom menu item.void
addSeparator()
Convenience function to add a menu separator.TSubMenu
addSubMenu(java.lang.String title)
Convenience function to add a sub-menu.void
draw()
Draw a top-level menu with title and menu items.MnemonicString
getMnemonic()
Get the mnemonic string.int
getTitleX()
Get the menu title X position.boolean
isContext()
Get the context flag.void
onKeypress(TKeypressEvent keypress)
Handle keystrokes.void
onMouseDown(TMouseEvent mouse)
Handle mouse button presses.void
onMouseMotion(TMouseEvent mouse)
Handle mouse movements.void
onMouseUp(TMouseEvent mouse)
Handle mouse button releases.protected void
resetTabOrder()
Reset the tab order of children to match their position in the list.void
setBorderStyleForeground(java.lang.String borderStyle)
Set the border style for the window when it is the foreground window.void
setBorderStyleInactive(java.lang.String borderStyle)
Set the border style for the window when it is an inactive/background window.void
setBorderStyleModal(java.lang.String borderStyle)
Set the border style for the window when it is the modal window.void
setBorderStyleMoving(java.lang.String borderStyle)
Set the border style for the window when it is being dragged/resize.void
setContext(boolean context)
Set the context flag.void
setContext(boolean context, int x, int y)
Set the context flag, used to open a context menu at a specific screen position.void
setTitleX(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:
onMouseDown
in 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:
onMouseMotion
in classTWindow
- Parameters:
mouse
- mouse motion event
-
onKeypress
public void onKeypress(TKeypressEvent keypress)
Handle keystrokes.- Overrides:
onKeypress
in 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:
resetTabOrder
in classTWidget
-
setBorderStyleForeground
public void setBorderStyleForeground(java.lang.String borderStyle)
Set the border style for the window when it is the foreground window.- Overrides:
setBorderStyleForeground
in 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:
setBorderStyleModal
in 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:
setBorderStyleInactive
in 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:
setBorderStyleMoving
in 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.
-
-