|
|||||||||
| Home >> All >> org >> mitre >> [ cvw overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.mitre.cvw
Class UserMenu

java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPopupMenu
org.mitre.cvw.ObjectMenu
org.mitre.cvw.UserMenu
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.MenuElement, ObjectValues, java.io.Serializable
- public class UserMenu
- extends ObjectMenu
- implements ObjectValues
- extends ObjectMenu
This class will create a menu for a representation of a user in the client program. When a user right clicks on the user representation (image or list item), this menu will appear and allow for different communications or information about that user.
- Version:
- 1.1
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JPopupMenu |
javax.swing.JPopupMenu.AccessibleJPopupMenu, javax.swing.JPopupMenu.Separator |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
(package private) boolean |
include_admit
|
(package private) java.awt.Component |
target_object
|
(package private) UserClient |
userClient
|
| Fields inherited from class org.mitre.cvw.ObjectMenu |
isShowing, masks, object |
| Fields inherited from class javax.swing.JPopupMenu |
|
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| 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 |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
UserMenu(int user_type,
UserClient callback)
Constructor |
|
| Method Summary | |
boolean |
callFunction(java.lang.String function)
Initiates the callFunction() method passed in. |
void |
initMenu(int type)
Initiates the creation of either a User or Proxy menu |
private void |
initProxyMenu(int type)
Creates the layout for the proxy menu. |
private void |
initUserMenu(int type)
Creates the user menu layout. |
void |
show(java.awt.Component obj,
int x,
int y,
CVWObject cObj)
Displays the menu. |
| Methods inherited from class org.mitre.cvw.ObjectMenu |
disableItem, disableItem, getGrayoutMask, isShowing, setDisabledItems, setShowing, show, show |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
target_object
java.awt.Component target_object
include_admit
boolean include_admit
userClient
UserClient userClient
| Constructor Detail |
UserMenu
public UserMenu(int user_type,
UserClient callback)
- Constructor
| Method Detail |
show
public void show(java.awt.Component obj, int x, int y, CVWObject cObj)
- Displays the menu.
initMenu
public void initMenu(int type)
- Initiates the creation of either a User or Proxy menu
- Specified by:
initMenuin classObjectMenu
initUserMenu
private void initUserMenu(int type)
- Creates the user menu layout.
initProxyMenu
private void initProxyMenu(int type)
- Creates the layout for the proxy menu.
callFunction
public boolean callFunction(java.lang.String function)
- Initiates the
callFunction()method passed in. If menu option is invoked from the all users window, the user may not be in the cache so send the request for the basic object info first.
MCP send cvw-object-info-request- Overrides:
callFunctionin classObjectMenu
|
|||||||||
| Home >> All >> org >> mitre >> [ cvw overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC