java.lang.Object
java.util.Dictionary
java.util.Hashtable
org.mitre.cvw.CVWCmdMgr
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- class CVWCmdMgr
- extends java.util.Hashtable
This keeps track of the cvw commands in the menu choice widget.
- Version:
- 1.0 10/2/96
| Nested classes inherited from class java.util.Hashtable |
|
| Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
| Fields inherited from class java.util.Hashtable |
|
|
Constructor Summary |
(package private) |
CVWCmdMgr()
Constructor |
| Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, size, toString, values |
CVWCmdMgr
CVWCmdMgr()
- Constructor
get
public CVWCommand get(int key)
- Returns the CVWCommand given an integer key (automatically does the casting)
get
public CVWCommand get(java.lang.Integer key)
- Returns the CVWCommand given an Integer key (automatically does the casting)
put
public CVWCommand put(java.lang.Integer key,
CVWCommand cmd)
- Sets the CVWCommand given an Integer key (automatically does the casting)
put
public CVWCommand put(CVWCommand cmd)
- Sets the CVWCommand, the key is taken from the CVWCommand (automatically does the casting)
init
public void init()
- Initializes all the possible CVWCommands availble to the user with in the command
entry area.
findCmdGivenServerCmdStr
public CVWCommand findCmdGivenServerCmdStr(java.lang.String cmdStr)
- Returns the CVWCommand given a server command string.
3/14/00 dage
findCmdGivenMenuStr
public CVWCommand findCmdGivenMenuStr(java.lang.String menuStr)
- Returns the CVWCommand given a menu string.
10/2/96 dage
findCmdGivenHotKey
public CVWCommand findCmdGivenHotKey(char hotkey,
java.lang.String mod)
- Returns the cvwCommand given the hot key char
10/2/96 dage - return cvwCommand given the hot key char
remove
public java.lang.Object remove(java.lang.Object key)
- Removes a key value pair from the hashtable. CURRENTLY NOT USED