1. /*
  2. * @(#)MenuItemPeer.java 1.13 00/02/02
  3. *
  4. * Copyright 1995-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package java.awt.peer;
  11. /**
  12. * The peer interfaces are intended only for use in porting
  13. * the AWT. They are not intended for use by application
  14. * developers, and developers should not implement peers
  15. * nor invoke any of the peer methods directly on the peer
  16. * instances.
  17. */
  18. public interface MenuItemPeer extends MenuComponentPeer {
  19. void setLabel(String label);
  20. void setEnabled(boolean b);
  21. /**
  22. * DEPRECATED: Replaced by setEnabled(boolean).
  23. */
  24. void enable();
  25. /**
  26. * DEPRECATED: Replaced by setEnabled(boolean).
  27. */
  28. void disable();
  29. }