Save This Page
Home » openjdk-7 » java » awt » peer » [javadoc | source]
java.awt.peer
public interface: MenuBarPeer [javadoc | source]

All Implemented Interfaces:
    MenuComponentPeer

The peer interface for MenuBar . The peer interfaces are intended only for use in porting the AWT. They are not intended for use by application developers, and developers should not implement peers nor invoke any of the peer methods directly on the peer instances.
Method from java.awt.peer.MenuBarPeer Summary:
addHelpMenu,   addMenu,   delMenu
Method from java.awt.peer.MenuBarPeer Detail:
 public  void addHelpMenu(Menu m)
    Adds a help menu to the menu bar.
 public  void addMenu(Menu m)
    Adds a menu to the menu bar.
 public  void delMenu(int index)
    Deletes a menu from the menu bar.