public interface MenuItemPeer extends MenuComponentPeer
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.Modifier and Type | Method and Description |
---|---|
void |
setEnabled(boolean e)
Enables or disables the menu item.
|
void |
setLabel(String label)
Sets the label to be displayed in this menu item.
|
dispose, setFont
void setLabel(String label)
label
- the label to be displayedvoid setEnabled(boolean e)
e
- true
to enable the menu item, false
to disable itDracula Javadoc Sample, Made with Allan Im.