Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mitre.cvw
Class CVWCmdMgr  view CVWCmdMgr download CVWCmdMgr.java

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended byorg.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 Class Summary
 
Nested classes inherited from class java.util.Hashtable
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
Field Summary
 
Fields inherited from class java.util.Hashtable
 
Constructor Summary
(package private) CVWCmdMgr()
          Constructor
 
Method Summary
 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
 CVWCommand findCmdGivenMenuStr(java.lang.String menuStr)
          Returns the CVWCommand given a menu string.
 CVWCommand findCmdGivenServerCmdStr(java.lang.String cmdStr)
          Returns the CVWCommand given a server command string.
 CVWCommand get(int key)
          Returns the CVWCommand given an integer key (automatically does the casting)
 CVWCommand get(java.lang.Integer key)
          Returns the CVWCommand given an Integer key (automatically does the casting)
 void init()
          Initializes all the possible CVWCommands availble to the user with in the command entry area.
 CVWCommand put(CVWCommand cmd)
          Sets the CVWCommand, the key is taken from the CVWCommand (automatically does the casting)
 CVWCommand put(java.lang.Integer key, CVWCommand cmd)
          Sets the CVWCommand given an Integer key (automatically does the casting)
 java.lang.Object remove(java.lang.Object key)
          Removes a key value pair from the hashtable.
 
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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CVWCmdMgr

CVWCmdMgr()
Constructor

Method Detail

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