Source for javax.swing.DefaultFocusManager

   1: /* DefaultFocusManager.java --
   2:    Copyright (C) 2002, 2004, 2006, Free Software Foundation, Inc.
   3: 
   4: This file is part of GNU Classpath.
   5: 
   6: GNU Classpath is free software; you can redistribute it and/or modify
   7: it under the terms of the GNU General Public License as published by
   8: the Free Software Foundation; either version 2, or (at your option)
   9: any later version.
  10: 
  11: GNU Classpath is distributed in the hope that it will be useful, but
  12: WITHOUT ANY WARRANTY; without even the implied warranty of
  13: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  14: General Public License for more details.
  15: 
  16: You should have received a copy of the GNU General Public License
  17: along with GNU Classpath; see the file COPYING.  If not, write to the
  18: Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  19: 02110-1301 USA.
  20: 
  21: Linking this library statically or dynamically with other modules is
  22: making a combined work based on this library.  Thus, the terms and
  23: conditions of the GNU General Public License cover the whole
  24: combination.
  25: 
  26: As a special exception, the copyright holders of this library give you
  27: permission to link this library with independent modules to produce an
  28: executable, regardless of the license terms of these independent
  29: modules, and to copy and distribute the resulting executable under
  30: terms of your choice, provided that you also meet, for each linked
  31: independent module, the terms and conditions of the license of that
  32: module.  An independent module is a module which is not derived from
  33: or based on this library.  If you modify this library, you may extend
  34: this exception to your version of the library, but you are not
  35: obligated to do so.  If you do not wish to do so, delete this
  36: exception statement from your version. */
  37: 
  38: package javax.swing;
  39: 
  40: import java.awt.Component;
  41: import java.awt.Container;
  42: import java.awt.event.KeyEvent;
  43: import java.util.Stack;
  44: 
  45: /**
  46:  * This class has been obsoleted by the new
  47:  * {@link java.awt.KeyboardFocusManager} and
  48:  * {@link java.awt.DefaultKeyboardFocusManager} API.
  49:  *
  50:  * @author Andrew Selkirk
  51:  */
  52: public class DefaultFocusManager extends FocusManager
  53: {
  54: 
  55:   /**
  56:    * historyStack
  57:    */
  58:   private Stack historyStack;
  59: 
  60:   /**
  61:    * Constructor DefaultFocusManager
  62:    */
  63:   public DefaultFocusManager()
  64:   {
  65:     // TODO
  66:   } // DefaultFocusManager()
  67: 
  68:         /**
  69:    * processKeyEvent
  70:    *
  71:    * @param component
  72:    *          TODO
  73:    * @param event
  74:    *          TODO
  75:    */
  76:   public void processKeyEvent(Component component, KeyEvent event)
  77:   {
  78:     // TODO
  79:   } // processKeyEvent()
  80: 
  81:   /**
  82:    * focusNextComponent
  83:    *
  84:    * @param component
  85:    *          TODO
  86:    */
  87:   public void focusNextComponent(Component component)
  88:   {
  89:     // TODO
  90:   } // focusNextComponent()
  91: 
  92:   /**
  93:    * focusPreviousComponent
  94:    *
  95:    * @param component
  96:    *          TODO
  97:    */
  98:   public void focusPreviousComponent(Component component)
  99:   {
 100:     // TODO
 101:   } // focusPreviousComponent()
 102: 
 103:   /**
 104:    * getFirstComponent
 105:    *
 106:    * @param container
 107:    *          TODO
 108:    * @return Component
 109:    */
 110:   public Component getFirstComponent(Container container)
 111:   {
 112:     return null; // TODO
 113:   } // getFirstComponent()
 114: 
 115:   /**
 116:    * getLastComponent
 117:    *
 118:    * @param container
 119:    *          TODO
 120:    * @return Component
 121:    */
 122:   public Component getLastComponent(Container container)
 123:   {
 124:     return null; // TODO
 125:   } // getLastComponent()
 126: 
 127:   /**
 128:    * getComponentBefore
 129:    *
 130:    * @param container
 131:    *          TODO
 132:    * @param component
 133:    *          TODO
 134:    * @return Component
 135:    */
 136:   public Component getComponentBefore(Container container, Component component)
 137:   {
 138:     return null; // TODO
 139:   } // getComponentBefore()
 140: 
 141:   /**
 142:    * getComponentAfter
 143:    *
 144:    * @param container
 145:    *          TODO
 146:    * @param component
 147:    *          TODO
 148:    * @return Component
 149:    */
 150:   public Component getComponentAfter(Container container, Component component)
 151:   {
 152:     return null; // TODO
 153:   } // getComponentAfter()
 154: 
 155:   /**
 156:    * compareTabOrder
 157:    *
 158:    * @param component1
 159:    *          TODO
 160:    * @param component2
 161:    *          TODO
 162:    * @return boolean
 163:    */
 164:   public boolean compareTabOrder(Component component1, Component component2)
 165:   {
 166:     return false; // TODO
 167:   } // compareTabOrder()
 168: 
 169: } // DefaultFocusManager