Print this page


Split Close
Expand all
Collapse all
          --- old/src/share/classes/java/awt/event/WindowFocusListener.java
          +++ new/src/share/classes/java/awt/event/WindowFocusListener.java
↓ open down ↓ 39 lines elided ↑ open up ↑
  40   40   * When the <code>Window</code>'s
  41   41   * status changes by virtue of it being opened, closed, activated, deactivated,
  42   42   * iconified, or deiconified, or by focus being transfered into or out of the
  43   43   * <code>Window</code>, the relevant method in the listener object is invoked,
  44   44   * and the <code>WindowEvent</code> is passed to it.
  45   45   *
  46   46   * @author David Mendenhall
  47   47   *
  48   48   * @see WindowAdapter
  49   49   * @see WindowEvent
  50      - * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/windowlistener.html">Tutorial: Writing a Window Listener</a>
       50 + * @see <a href="https://docs.oracle.com/javase/tutorial/uiswing/events/windowlistener.html">Tutorial: Writing a Window Listener</a>
  51   51   *
  52   52   * @since 1.4
  53   53   */
  54   54  public interface WindowFocusListener extends EventListener {
  55   55  
  56   56      /**
  57   57       * Invoked when the Window is set to be the focused Window, which means
  58   58       * that the Window, or one of its subcomponents, will receive keyboard
  59   59       * events.
  60   60       */
  61   61      public void windowGainedFocus(WindowEvent e);
  62   62  
  63   63      /**
  64   64       * Invoked when the Window is no longer the focused Window, which means
  65   65       * that keyboard events will no longer be delivered to the Window or any of
  66   66       * its subcomponents.
  67   67       */
  68   68      public void windowLostFocus(WindowEvent e);
  69   69  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX