jdk/src/share/classes/java/awt/event/WindowFocusListener.java
changeset 22254 8550495a4d78
parent 20455 f6f9a0c2796b
equal deleted inserted replaced
22173:f130ca87de66 22254:8550495a4d78
     1 /*
     1 /*
     2  * Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    55 
    55 
    56     /**
    56     /**
    57      * Invoked when the Window is set to be the focused Window, which means
    57      * Invoked when the Window is set to be the focused Window, which means
    58      * that the Window, or one of its subcomponents, will receive keyboard
    58      * that the Window, or one of its subcomponents, will receive keyboard
    59      * events.
    59      * events.
       
    60      * @param e the event to be processed
    60      */
    61      */
    61     public void windowGainedFocus(WindowEvent e);
    62     public void windowGainedFocus(WindowEvent e);
    62 
    63 
    63     /**
    64     /**
    64      * Invoked when the Window is no longer the focused Window, which means
    65      * Invoked when the Window is no longer the focused Window, which means
    65      * that keyboard events will no longer be delivered to the Window or any of
    66      * that keyboard events will no longer be delivered to the Window or any of
    66      * its subcomponents.
    67      * its subcomponents.
       
    68      * @param e the event to be processed
    67      */
    69      */
    68     public void windowLostFocus(WindowEvent e);
    70     public void windowLostFocus(WindowEvent e);
    69 }
    71 }