java.awt.peer
Interface MenuItemPeer

All Superinterfaces:
MenuComponentPeer
All Known Subinterfaces:
CheckboxMenuItemPeer, MenuPeer, PopupMenuPeer

public interface MenuItemPeer
extends MenuComponentPeer

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 disable()
          DEPRECATED: Replaced by setEnabled(boolean).
 void enable()
          DEPRECATED: Replaced by setEnabled(boolean).
 void setEnabled(boolean b)
           
 void setLabel(String label)
           
 
Methods inherited from interface java.awt.peer.MenuComponentPeer
dispose
 

Method Detail

setLabel

public void setLabel(String label)

setEnabled

public void setEnabled(boolean b)

enable

public void enable()
DEPRECATED: Replaced by setEnabled(boolean).


disable

public void disable()
DEPRECATED: Replaced by setEnabled(boolean).