|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MenuItemPeer
Disabled: no SafeJ information.
The peer interface for menu items. This is used by MenuItem
.
The peer interfaces are intended only for use in porting
the AWT. They are not intended for use by application
developers, and developers should not implement peers
nor invoke any of the peer methods directly on the peer
instances.
Method Summary | |
---|---|
void |
setEnabled(boolean e)
Enables or disables the menu item. |
void |
setLabel(String label)
Sets the label to be displayed in this menu item. |
Methods inherited from interface java.awt.peer.MenuComponentPeer |
---|
dispose, setFont |
Method Detail |
---|
void setLabel(String label)
label
- the label to be displayedvoid setEnabled(boolean e)
e
- true
to enable the menu item, false
to disable it
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |