The abstract MenuComponent class represents the parent of all menu GUI components.
public abstract class java.awt.MenuComponent extends java.lang.Object implements java.io.Serializable { // Instance Methods public final void dispatchEvent (AWTEvent e); public Font getFont(); public String getName(); public MenuContainer getParent(); public MenuComponentPeer getPeer(); public boolean postEvent (Event e); public void removeNotify(); public void setFont (Font f); public void setName (String name); public String toString(); // Protected Instance Methods protected String paramString(); protected void processEvent (AWTEvent e); }
The AWTEvent to process.
Tells the menu component to deal with the AWTEvent e.
The font for the current MenuComponent.
The name for the current MenuComponent.
The parent MenuContainer for the MenuComponent.
A reference to the MenuComponent's peer.
Event instance to post to component.
Ignored for menus.
Tells the Frame that contains the MenuBar containing the MenuComponent to deal with Event.
Removes peer of MenuComponent's subclass.
New font for MenuComponent.
Changes the font of the label of the MenuComponent.
New name for MenuComponent.
Changes the name of the MenuComponent.
A string representation of the MenuComponent object.
Object.toString()
String with current settings of MenuComponent.
Component.paramString()
Helper method for toString() to generate string of current settings.
The event to process.
Low-level AWTEvents are passed to this method for processing.
Event, Font, MenuBar, MenuComponentPeer, MenuContainer, MenuItem, Object, Serializable, String
This HTML Help has been published using the chm2web software. |