Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.awt

Class PopupMenu

java.lang.Object
|
+--java.awt.MenuComponent
   |
   +--java.awt.MenuItem
      |
      +--java.awt.Menu
         |
         +--java.awt.PopupMenu


public class PopupMenu

extends Menu

This class implement an AWT popup menu widget

Author:

Constructor Summary

PopupMenu()

Initializes a new instance of PopupMenu.
PopupMenu(java.lang.String label)

Initializes a new instance of PopupMenu with the specified label.

Method Summary

voidaddNotify()

Creates this object's native peer.
voidshow(java.awt.Component component, int x, int y)

Displays this popup menu at the specified coordinates relative to the specified component.

Constructor Details

PopupMenu

public PopupMenu()

Initializes a new instance of PopupMenu.

Throws:


PopupMenu

public PopupMenu(java.lang.String label)

Initializes a new instance of PopupMenu with the specified label.

Parameters:

Throws:


Method Details

addNotify

public void addNotify()

Creates this object's native peer.


show

public void show(java.awt.Component component, int x, int y)

Displays this popup menu at the specified coordinates relative to the specified component.

Parameters: