src/share/classes/javax/swing/FocusManager.java

Print this page




  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 package javax.swing;
  26 
  27 import java.awt.*;
  28 
  29 
  30 /**
  31  * This class has been obsoleted by the 1.4 focus APIs. While client code may
  32  * still use this class, developers are strongly encouraged to use
  33  * <code>java.awt.KeyboardFocusManager</code> and
  34  * <code>java.awt.DefaultKeyboardFocusManager</code> instead.
  35  * <p>
  36  * Please see
  37  * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html">
  38  * How to Use the Focus Subsystem</a>,
  39  * a section in <em>The Java Tutorial</em>, and the
  40  * <a href="../../java/awt/doc-files/FocusSpec.html">Focus Specification</a>
  41  * for more information.
  42  *
  43  * @see <a href="../../java/awt/doc-files/FocusSpec.html">Focus Specification</a>
  44  *
  45  * @author Arnaud Weber
  46  * @author David Mendenhall
  47  */
  48 public abstract class FocusManager extends DefaultKeyboardFocusManager {
  49 
  50     /**
  51      * This field is obsolete, and its use is discouraged since its
  52      * specification is incompatible with the 1.4 focus APIs.
  53      * The current FocusManager is no longer a property of the UI.
  54      * Client code must query for the current FocusManager using
  55      * <code>KeyboardFocusManager.getCurrentKeyboardFocusManager()</code>.
  56      * See the Focus Specification for more information.
  57      *




  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 package javax.swing;
  26 
  27 import java.awt.*;
  28 
  29 
  30 /**
  31  * This class has been obsoleted by the 1.4 focus APIs. While client code may
  32  * still use this class, developers are strongly encouraged to use
  33  * <code>java.awt.KeyboardFocusManager</code> and
  34  * <code>java.awt.DefaultKeyboardFocusManager</code> instead.
  35  * <p>
  36  * Please see
  37  * <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html">
  38  * How to Use the Focus Subsystem</a>,
  39  * a section in <em>The Java Tutorial</em>, and the
  40  * <a href="../../java/awt/doc-files/FocusSpec.html">Focus Specification</a>
  41  * for more information.
  42  *
  43  * @see <a href="../../java/awt/doc-files/FocusSpec.html">Focus Specification</a>
  44  *
  45  * @author Arnaud Weber
  46  * @author David Mendenhall
  47  */
  48 public abstract class FocusManager extends DefaultKeyboardFocusManager {
  49 
  50     /**
  51      * This field is obsolete, and its use is discouraged since its
  52      * specification is incompatible with the 1.4 focus APIs.
  53      * The current FocusManager is no longer a property of the UI.
  54      * Client code must query for the current FocusManager using
  55      * <code>KeyboardFocusManager.getCurrentKeyboardFocusManager()</code>.
  56      * See the Focus Specification for more information.
  57      *