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
-
IPopupMenu(Menu)
-
Creates a popup menu window with the given menu structure.
-
createMenuView(Menu)
-
Overridden to make location adjustment possible.
-
createMenuWindow()
-
Overridden to make location adjustment possible.
-
show(View, int, int)
-
Shows this popup menu at (x, y) in the given view's coordinate system.
IPopupMenu
public IPopupMenu(Menu menu)
- Creates a popup menu window with the given menu structure.
The default type is MenuView.VERTICAL.
show
public void show(View view,
int x,
int y)
- Shows this popup menu at (x, y) in the given view's coordinate system.
createMenuWindow
protected InternalWindow createMenuWindow()
- Overridden to make location adjustment possible.
Creates IPopupMenuWindow instead of InternalWindow.
- Overrides:
- createMenuWindow in class MenuView
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