Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

FunctionBar.java

Go to the documentation of this file.
00001 //   -*-Java-*-
00002 //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00011 
00013 package pkgMcj;
00014 
00015 import pkgView.*;
00016 
00018 public class FunctionBar {
00019    private ScreenKit sk = ScreenKit.getSingleton();
00020 
00021    private int defaultColor = sk.PAIR_BLACK_CYAN;
00022    private int activeColor = sk.PAIR_WHITE_BLACK;
00023 
00024    private String barString = 
00025       new String(
00026                  "1Help  " +
00027                  "2Menu  " + 
00028                  "3View  " +
00029                  "4Edit  " +
00030                  "5Copy  " +
00031                  "6RenMove " +
00032                  "7Mkdir " +
00033                  "8Delete " +
00034                  "9PullDn " +
00035                  "10Quit "
00036                  );
00037    
00038    
00039    //   FunctionBar(){
00040    //}
00041 
00042    //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00047    public void redraw(){
00048       sk.ttyMvAddStr(sk.FUNC_KEY_ROW,0, barString, 77,0,defaultColor);
00049    }
00050 
00051 
00052 } // end FunctionBar

SourceForge.net Logo