textbender.a.r.page
Class PopupMenu

java.lang.Object
  extended by PopupMenu

final class PopupMenu
extends Object

A pop-up menu for control of in-page tools.

Pop it context-aware by mouse (Ctrl-anyButton).

Pop it context-free by mouse (anyButton) in the toolbar applet. For silent pages, this is the only way to pop the menu.

Pop it context-free by keystroke (Ctrl-T). [Maybe context-aware later, if we track browser's on-screen cursor.] Child menu-items will usually have mnemonics, making them invokable by additional keystrokes.

Mouse and key bindings are hard-coded. [Will later be configurable, per a/z : general end-user config framework.]


Constructor Summary
PopupMenu(PageVisit vP)
          Creates a PopupMenu, and installs it in-page.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PopupMenu

@ThreadRestricted(value="AWT event dispatch")
PopupMenu(PageVisit vP)
    throws RemoteException
Creates a PopupMenu, and installs it in-page. It automatically releases itself at page exit. There is no way to release it before then.

Also gives the applet a hand cursor, as a cue.

Parameters:
vP - page visit, context
Throws:
RemoteException