home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  

Java in a Nutshell

Previous Chapter 18
The java.awt Package

18.43 java.awt.MenuContainer (JDK 1.0)

This interface defines the methods necessary for MenuContainer types such as the Menu, Frame, and MenuBar objects. Unless you implement new menu-like components, you never need to use it.

public abstract interface MenuContainer {
    // Public Instance Methods
            public abstract Font getFont();
            public abstract boolean postEvent(Event evt);
            public abstract void remove(MenuComponent comp);

Implemented By:

Component, Frame, Menu, MenuBar

Returned By:


Previous Home Next
java.awt.MenuComponent (JDK 1.0) Book Index java.awt.MenuItem (JDK 1.0)

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