MenuComponentNameMenuComponent
DescriptionThe abstract MenuComponent class represents the parent of all menu GUI components. Class Definition
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); } Instance MethodsdispatchEventpublic final void dispatchEvent (AWTEvent e)
getFontpublic Font getFont()
getNamepublic Font getName()
getParentpublic MenuContainer getParent()
getPeerpublic MenuComponentPeer getPeer()
postEventpublic boolean postEvent (Event e)
removeNotifypublic void removeNotify()
setFontpublic void setFont (Font f)
setNamepublic void setName (String name)
toStringpublic String toString()
Protected Instance MethodsparamStringprotected String paramString()
processEventprotected void processEvent (AWTEvent e)
See AlsoEvent, Font, MenuBar, MenuComponentPeer, MenuContainer, MenuItem, Object, Serializable, String |
|