|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.MenuComponent
The super class of all menu related components.
Constructor Summary | |
MenuComponent()
|
Method Summary | |
Font |
getFont()
Gets the font used for this MenuItem. |
MenuContainer |
getParent()
Returns the parent container. |
java.awt.peer.MenuComponentPeer |
getPeer()
Gets the MenuComponent's peer. |
protected String |
paramString()
Returns the String parameter of this MenuComponent. |
boolean |
postEvent(Event evt)
Posts the specified event to the menu. |
void |
removeNotify()
Removes the menu component's peer. |
void |
setFont(Font f)
Sets the font to be used for this MenuItem to the specified font. |
String |
toString()
Returns the String representation of this MenuComponent's values. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MenuComponent()
Method Detail |
public MenuContainer getParent()
public java.awt.peer.MenuComponentPeer getPeer()
public Font getFont()
public void setFont(Font f)
f
- the font to be setpublic void removeNotify()
public boolean postEvent(Event evt)
evt
- the event which is to take placeprotected String paramString()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |