Top Description Methods
java.awt

public Interface MenuContainer

Known Direct Implementers
java.awt.Component, java.awt.Frame, java.awt.Menu, java.awt.MenuBar

The super class of all menu related containers.
Author
Arthur van Hoff

Method Summary

Modifier and TypeMethod and Description
public Font

Returns:

the menu font
getFont
()

Returns the font in use by this container.

public boolean

Returns:

the results of posting the event
postEvent
(Event
the event to dispatch
evt
)

Deprecated As of JDK version 1.1 replaced by dispatchEvent(AWTEvent).
Posts an event to the listeners.
public void
remove(MenuComponent
the menu component to remove
comp
)

Removes the specified menu component from the menu.

Method Detail

getFontback to summary
public Font getFont()

Returns the font in use by this container.

Returns:Font

the menu font

postEventback to summary
public boolean postEvent(Event evt)

Deprecated

As of JDK version 1.1 replaced by dispatchEvent(AWTEvent).

Posts an event to the listeners.

Parameters
evt:Event

the event to dispatch

Returns:boolean

the results of posting the event

Annotations
@Deprecated
removeback to summary
public void remove(MenuComponent comp)

Removes the specified menu component from the menu.

Parameters
comp:MenuComponent

the menu component to remove