1. /*
  2. * @(#)MenuPeer.java 1.12 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. import java.awt.MenuItem;
  12. /**
  13. * The peer interfaces are intended only for use in porting
  14. * the AWT. They are not intended for use by application
  15. * developers, and developers should not implement peers
  16. * nor invoke any of the peer methods directly on the peer
  17. * instances.
  18. */
  19. public interface MenuPeer extends MenuItemPeer {
  20. void addSeparator();
  21. void addItem(MenuItem item);
  22. void delItem(int index);
  23. }