java.awt
public interface MenuContainer
Modifier and Type | Method and Description |
---|---|
Font |
getFont()
Returns the font in use by this container.
|
boolean |
postEvent(Event event)
Deprecated.
use
MenuComponent.dispatchEvent(AWTEvent) instead |
void |
remove(MenuComponent component)
Removes the specified menu component from the menu.
|
void remove(MenuComponent component)
component
- the menu component to removeboolean postEvent(Event event)
MenuComponent.dispatchEvent(AWTEvent)
insteadevent
- the event to dispatch