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, setFontvoid setLabel(String label)
label - the label to be displayedvoid setEnabled(boolean e)
e - true to enable the menu item, false
to disable itGenerated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.