Definition at line 23 of file PanelGrid.java.
Public Member Functions | |
PanelGrid (Mcj parent, int panelId) | |
String | getFullPath () |
String | getDir () |
void | redraw (boolean clearFlag) |
boolean | hasFocus () |
boolean | checkKey (boolean flag, int keyItem) |
void | setCurrentPath (String pathName) |
void | loadPage (String dirName) |
void | reload_page () |
|
constructor allocates store for a column of file names
Definition at line 58 of file PanelGrid.java. References pkgView.ScreenKit.COLOR_TITLE, pkgMcj.PanelRow.fileRef, pkgMcj.Mcj.getSystemProperty(), pkgMcj.PanelRow.itemName, pkgMcj.PanelRow.itemSize, pkgMcj.PanelRow.itemTime, pkgView.ScreenKit.PAIR_BLACK_WHITE, pkgView.ScreenKit.PAIR_WHITE_BLUE, pkgMcj.Mcj.PANEL_LEFT, pkgView.ScreenKit.PANEL_TS, pkgView.TextItem.setAttribute(), pkgMcj.PanelRow.setAttributes(), pkgMcj.PanelRow.setColors(), pkgView.TextItem.setColors(), pkgView.TextItem.setPosition(), pkgView.TextItem.setSelected(), pkgView.TextItem.setText(), pkgView.ScreenKit.SK_BOLD, and pkgView.ScreenKit.SK_NORMAL. |
|
redraws the panels within the main box Definition at line 183 of file PanelGrid.java. References pkgView.ScreenKit.COLOR_BOX, pkgMcj.Mcj.errorMsg(), pkgMcj.PanelRow.fileRef, pkgView.TextItem.getText(), pkgMcj.PanelGrid.hasFocus(), pkgMcj.PanelRow.itemName, pkgMcj.PanelRow.itemSize, pkgMcj.PanelRow.itemTime, pkgView.ScreenKit.PANEL_BS, pkgView.ScreenKit.PANEL_TS, pkgMcj.PanelRow.redraw(), pkgView.TextItem.redraw(), pkgView.TextItem.setSelected(), pkgView.TextItem.setText(), pkgView.ScreenKit.ttyDrawBox(), pkgView.ScreenKit.ttyDrawHline(), and pkgView.ScreenKit.ttyDrawVline(). Referenced by pkgMcj.PanelGrid.checkKey(), and pkgMcj.Mcj.Mcj(). |
|
tests the focus for this panel. When a panel has focus, strings are highlighted with arrow keys traversal.
Definition at line 316 of file PanelGrid.java. References pkgMcj.Mcj.currentMode, pkgMcj.Mcj.PANEL_LEFT, pkgMcj.Mcj.PANEL_RIGHT, pkgMcj.Mcj.STATE_1PL, pkgMcj.Mcj.STATE_1PR, pkgMcj.Mcj.STATE_2PL, and pkgMcj.Mcj.STATE_2PR. Referenced by pkgMcj.PanelGrid.redraw(). |
|
updates the widget according to keyboard item and system mode.
Definition at line 374 of file PanelGrid.java. References pkgView.Keyboard.KEY_NEWMODE, pkgMcj.PanelGrid.redraw(), pkgMcj.Mcj.setState(), and pkgMcj.Mcj.STATE_NULL. |
|
sets the current file path in the top row of the box. Definition at line 407 of file PanelGrid.java. References pkgView.TextItem.setText(). Referenced by pkgMcj.PanelGrid.loadPage(), and pkgMcj.Mcj.Mcj(). |
|
loads files into the view when a new folder is selected Definition at line 417 of file PanelGrid.java. References pkgMcj.Mcj.errorMsg(), pkgMcj.Folder.loadNames(), and pkgMcj.PanelGrid.setCurrentPath(). Referenced by pkgMcj.PanelGrid.reload_page(). |