Definition at line 17 of file Mcj.java.
Public Member Functions | |
Mcj () | |
void | errorMsg (String msg) |
String | getSystemProperty (String key) |
void | setState (int stateArg) |
Static Public Member Functions | |
static void | main (String[] args) |
static void | goodbye (String s) |
Public Attributes | |
final int | STATE_NULL = 0 |
nothing to do | |
final int | STATE_VIEW1 = 1 |
1 panel; wide view | |
final int | STATE_2PL = 2 |
2 panels; left focus | |
final int | STATE_2PR = 3 |
2 panels; right focus | |
final int | STATE_1PL = 4 |
1 panels; left focus | |
final int | STATE_1PR = 5 |
1 panels; right focus | |
final int | STATE_HELP = 6 |
popup F1; help | |
final int | STATE_MENU = 7 |
popup F2; menu | |
final int | STATE_VIEW = 8 |
popup F3; view | |
final int | STATE_EDIT = 9 |
popup F4; edit | |
final int | STATE_COPY = 10 |
popup F5; copy | |
final int | STATE_MOVE = 11 |
popup F6; move | |
final int | STATE_MKDIR = 12 |
popup F7; mkdir | |
final int | STATE_DEL = 13 |
popup F8; delete | |
final int | STATE_PULDN = 14 |
popup F9; pulldown menus | |
final int | STATE_EXIT = 15 |
popup F10; exit | |
final int | PANEL_LEFT = 1 |
id; left panel | |
final int | PANEL_RIGHT = 2 |
id; right panel | |
final int | DROP_LEFT = 4 |
id; left drop menu | |
final int | DROP_FILE = 5 |
id; drop file menu | |
final int | DROP_OPTION = 6 |
id; drop option menu | |
final int | DROP_CMD = 7 |
id; drop cmd menu | |
final int | DROP_RIGHT = 8 |
id; right drop menu | |
int | currentMode = STATE_2PL |
initially, a 2-panel view | |
Package Functions | |
void | testFolder () |
Static Package Attributes | |
static FileOut | logFile |
logfile |
|
|
start Mcj Definition at line 37 of file Mcj.java. References pkgMcj.Mcj.goodbye(), and pkgMcj.Mcj.Mcj(). |
|
prints an error on the shell line, waits for any key Definition at line 223 of file Mcj.java. References pkgView.Keyboard.inputKey(), pkgView.TextItem.redraw(), pkgView.TextItem.setText(), and pkgView.ScreenKit.ttyRefresh(). Referenced by pkgMcj.Cmd.doCmd(), pkgMcj.PanelGrid.getFullPath(), pkgMcj.Folder.getLongDate(), pkgMcj.Folder.getStringDate(), pkgMcj.Folder.loadNames(), pkgMcj.PanelGrid.loadPage(), and pkgMcj.PanelGrid.redraw(). |
|
test Definition at line 366 of file Mcj.java. References pkgMcj.Folder.getFolderName(), pkgMcj.Folder.getLength(), pkgMcj.Folder.getNextName(), pkgMcj.Folder.getNumEntries(), pkgMcj.Mcj.getSystemProperty(), pkgMcj.Folder.loadNames(), pkgMcj.Mcj.logFile, and pkgUtil.FileOut.putString(). |
|
gets a system property, traps exceptions.
Definition at line 394 of file Mcj.java. References pkgMcj.Mcj.logFile, and pkgUtil.FileOut.putString(). Referenced by pkgMcj.Mcj.Mcj(), pkgMcj.PanelGrid.PanelGrid(), and pkgMcj.Mcj.testFolder(). |
|
sets state and notifies key listeners. this usually results in a display change. Definition at line 443 of file Mcj.java. References pkgMcj.Mcj.currentMode. Referenced by pkgMcj.PanelGrid.checkKey(), and pkgMcj.MenuBar.checkKey(). |
|
these are Mcj states representing different views Definition at line 410 of file Mcj.java. Referenced by pkgMcj.PanelGrid.checkKey(), and pkgMcj.MenuBar.checkKey(). |