1. /*
  2. * @(#)WindowPeer.java 1.10 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.*;
  12. import java.awt.event.KeyEvent;
  13. /**
  14. * The peer interfaces are intended only for use in porting
  15. * the AWT. They are not intended for use by application
  16. * developers, and developers should not implement peers
  17. * nor invoke any of the peer methods directly on the peer
  18. * instances.
  19. */
  20. public interface WindowPeer extends ContainerPeer {
  21. void toFront();
  22. void toBack();
  23. int handleFocusTraversalEvent(KeyEvent e);
  24. public final static int IGNORE_EVENT = 0;
  25. public final static int CONSUME_EVENT = 1;
  26. public final static int FOCUS_NEXT = 2;
  27. public final static int FOCUS_PREVIOUS = 3;
  28. }