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

Quick Search    Search Deep

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

java.lang.Object
  extended byorg.mitre.cvw.UserMenuControl
All Implemented Interfaces:
ObjectValues

public class UserMenuControl
extends java.lang.Object
implements ObjectValues

User Popup menu controller This class will control the various user menus that may exist. Upon initialization, this class will create the different menus and save them in a hashtable. When requested a menu, the class will lookup the appropriate menu and activate its show() method.

Version:
1

Field Summary
(package private)  java.util.Hashtable menu_table
           
(package private)  int[] menu_types
           
 
Fields inherited from interface org.mitre.cvw.ObjectValues
BALLOT, CHECKEDOUTDOC, CHECKOUT, CURRONLINEUSER, CURRUSER, DISCONNECTED, DOC, DOC_SC, DOCBUSY, DOCCHECKIN, DOCCOPY, DOCCREATE, DOCCREATEBACKGROUND, DOCCREATEDATE, DOCCREATOR, DOCCREATORONLY, DOCDELETE, DOCDESC, DOCEDITORS, DOCEXPORT, DOCINFO, DOCMIMETYPE, DOCOPEN, DOCSETDESC, DOCSTATUS, DOCTYPE, DOCUMENT, DROP, FLOOR, FOLDER, FOLDER_SC, FORM, FORMFOLDER, GETALLTYPES, GETCHECKEDDOCS, GETDOCTEXTS, GETDOCTEXTSCO, GETEXTDESC, GROUP, IMAGEMENU, NOTCHECKEDOUTDOC, NOTE, NOTE_SC, ONLINEUSER, PROXY, PROXYWIN, RECORDER, REMOTE, REMOTEUSER, REVERT, REVISION, ROOM, ROOMKEY, SETDOCATTRS, SETDOCNAME, STANDARD, TAKE, UNKNOWN, URL, URL_SC, USER, USERSTAT, WB, WHITEBOARD, WHITEBOARD_SC
 
Constructor Summary
UserMenuControl(java.awt.Container cont, UserClient client)
          constructor
UserMenuControl(java.awt.Container cont, UserClient client, int admit_mod)
          constructor
 
Method Summary
 UserMenu getMenu(int menu_type)
          Get the proper menu for the selected object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

menu_table

java.util.Hashtable menu_table

menu_types

int[] menu_types
Constructor Detail

UserMenuControl

public UserMenuControl(java.awt.Container cont,
                       UserClient client)
constructor


UserMenuControl

public UserMenuControl(java.awt.Container cont,
                       UserClient client,
                       int admit_mod)
constructor

Method Detail

getMenu

public UserMenu getMenu(int menu_type)
Get the proper menu for the selected object