Java in a Nutshell

Previous Chapter 22
The java.awt.peer Package
Next
 

22.18 java.awt.peer.MenuPeer (JDK 1.0)

public abstract interface MenuPeer extends MenuItemPeer {
    // Public Instance Methods
            public abstract void addItem(MenuItem item);
            public abstract void addSeparator();
            public abstract void delItem(int index);
}

Hierarchy:

(MenuPeer(MenuItemPeer(MenuComponentPeer)))

Extended By:

PopupMenuPeer

Returned By:

Toolkit.createMenu()


Previous Home Next
java.awt.peer.MenuItemPeer (JDK 1.0) Book Index java.awt.peer.PanelPeer (JDK 1.0)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java