001    /* DefaultFocusManager.java --
002       Copyright (C) 2002, 2004, 2006, Free Software Foundation, Inc.
003    
004    This file is part of GNU Classpath.
005    
006    GNU Classpath is free software; you can redistribute it and/or modify
007    it under the terms of the GNU General Public License as published by
008    the Free Software Foundation; either version 2, or (at your option)
009    any later version.
010    
011    GNU Classpath is distributed in the hope that it will be useful, but
012    WITHOUT ANY WARRANTY; without even the implied warranty of
013    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
014    General Public License for more details.
015    
016    You should have received a copy of the GNU General Public License
017    along with GNU Classpath; see the file COPYING.  If not, write to the
018    Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
019    02110-1301 USA.
020    
021    Linking this library statically or dynamically with other modules is
022    making a combined work based on this library.  Thus, the terms and
023    conditions of the GNU General Public License cover the whole
024    combination.
025    
026    As a special exception, the copyright holders of this library give you
027    permission to link this library with independent modules to produce an
028    executable, regardless of the license terms of these independent
029    modules, and to copy and distribute the resulting executable under
030    terms of your choice, provided that you also meet, for each linked
031    independent module, the terms and conditions of the license of that
032    module.  An independent module is a module which is not derived from
033    or based on this library.  If you modify this library, you may extend
034    this exception to your version of the library, but you are not
035    obligated to do so.  If you do not wish to do so, delete this
036    exception statement from your version. */
037    
038    package javax.swing;
039    
040    import java.awt.Component;
041    import java.awt.Container;
042    import java.awt.event.KeyEvent;
043    import java.util.Stack;
044    
045    /**
046     * This class has been obsoleted by the new
047     * {@link java.awt.KeyboardFocusManager} and
048     * {@link java.awt.DefaultKeyboardFocusManager} API.
049     *
050     * @author Andrew Selkirk
051     */
052    public class DefaultFocusManager extends FocusManager 
053    {
054    
055      /**
056       * historyStack
057       */
058      private Stack historyStack;
059    
060      /**
061       * Constructor DefaultFocusManager
062       */
063      public DefaultFocusManager()
064      {
065        // TODO
066      } // DefaultFocusManager()
067    
068            /**
069       * processKeyEvent
070       * 
071       * @param component
072       *          TODO
073       * @param event
074       *          TODO
075       */
076      public void processKeyEvent(Component component, KeyEvent event)
077      {
078        // TODO
079      } // processKeyEvent()
080    
081      /**
082       * focusNextComponent
083       * 
084       * @param component
085       *          TODO
086       */
087      public void focusNextComponent(Component component)
088      {
089        // TODO
090      } // focusNextComponent()
091    
092      /**
093       * focusPreviousComponent
094       * 
095       * @param component
096       *          TODO
097       */
098      public void focusPreviousComponent(Component component)
099      {
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