Class com.micronova.mnfc.IPopupMenu
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.micronova.mnfc.IPopupMenu

java.lang.Object
   |
   +----netscape.application.View
           |
           +----netscape.application.MenuView
                   |
                   +----com.micronova.mnfc.IPopupMenu

public class IPopupMenu
extends MenuView
IPopupMenu is a popup menu with automatic location adjustment (it tries to stay within the display area).
Version:
1.0
Author:
Makoto Nagata, MicroNova

Constructor Index

 o IPopupMenu(Menu)
Creates a popup menu window with the given menu structure.

Method Index

 o createMenuView(Menu)
Overridden to make location adjustment possible.
 o createMenuWindow()
Overridden to make location adjustment possible.
 o show(View, int, int)
Shows this popup menu at (x, y) in the given view's coordinate system.

Constructors

 o IPopupMenu
  public IPopupMenu(Menu menu)
Creates a popup menu window with the given menu structure. The default type is MenuView.VERTICAL.

Methods

 o show
  public void show(View view,
                   int x,
                   int y)
Shows this popup menu at (x, y) in the given view's coordinate system.
 o createMenuWindow
  protected InternalWindow createMenuWindow()
Overridden to make location adjustment possible.
Creates IPopupMenuWindow instead of InternalWindow.

Overrides:
createMenuWindow in class MenuView
 o createMenuView
  protected MenuView createMenuView(Menu theMenu)
Overridden to make location adjustment possible.
Creates IPopupMenu instead of MenuView.

Overrides:
createMenuView in class MenuView

All Packages  Class Hierarchy  This Package  Previous  Next  Index