JavaTM 2 Platform
Standard Ed. 6

javax.swing
類別 DefaultFocusManager

java.lang.Object
  繼承者 java.awt.KeyboardFocusManager
      繼承者 java.awt.DefaultKeyboardFocusManager
          繼承者 javax.swing.FocusManager
              繼承者 javax.swing.DefaultFocusManager
所有已實作的介面:
KeyEventDispatcher, KeyEventPostProcessor

public class DefaultFocusManager
extends FocusManager

此類別已被廢棄,用 1.4 focus API 取代。雖然客戶端程式碼可能仍然使用此類別,但強烈建議開發人員使用 java.awt.KeyboardFocusManagerjava.awt.DefaultKeyboardFocusManager 替代。

有關更多資訊,請參閱 The Java Tutorial 中的 How to Use the Focus Subsystem 一節和 Focus Specification


欄位摘要
 
從類別 javax.swing.FocusManager 繼承的欄位
FOCUS_MANAGER_CLASS_PROPERTY
 
從類別 java.awt.KeyboardFocusManager 繼承的欄位
BACKWARD_TRAVERSAL_KEYS, DOWN_CYCLE_TRAVERSAL_KEYS, FORWARD_TRAVERSAL_KEYS, UP_CYCLE_TRAVERSAL_KEYS
 
建構子摘要
DefaultFocusManager()
           
 
方法摘要
 boolean compareTabOrder(Component a, Component b)
           
 Component getComponentAfter(Container aContainer, Component aComponent)
           
 Component getComponentBefore(Container aContainer, Component aComponent)
           
 Component getFirstComponent(Container aContainer)
           
 Component getLastComponent(Container aContainer)
           
 
從類別 javax.swing.FocusManager 繼承的方法
disableSwingFocusManager, getCurrentManager, isFocusManagerEnabled, setCurrentManager
 
從類別 java.awt.DefaultKeyboardFocusManager 繼承的方法
dequeueKeyEvents, discardKeyEvents, dispatchEvent, dispatchKeyEvent, downFocusCycle, enqueueKeyEvents, focusNextComponent, focusPreviousComponent, postProcessKeyEvent, processKeyEvent, upFocusCycle
 
從類別 java.awt.KeyboardFocusManager 繼承的方法
addKeyEventDispatcher, addKeyEventPostProcessor, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clearGlobalFocusOwner, downFocusCycle, firePropertyChange, fireVetoableChange, focusNextComponent, focusPreviousComponent, getActiveWindow, getCurrentFocusCycleRoot, getCurrentKeyboardFocusManager, getDefaultFocusTraversalKeys, getDefaultFocusTraversalPolicy, getFocusedWindow, getFocusOwner, getGlobalActiveWindow, getGlobalCurrentFocusCycleRoot, getGlobalFocusedWindow, getGlobalFocusOwner, getGlobalPermanentFocusOwner, getKeyEventDispatchers, getKeyEventPostProcessors, getPermanentFocusOwner, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, redispatchEvent, removeKeyEventDispatcher, removeKeyEventPostProcessor, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener, setCurrentKeyboardFocusManager, setDefaultFocusTraversalKeys, setDefaultFocusTraversalPolicy, setGlobalActiveWindow, setGlobalCurrentFocusCycleRoot, setGlobalFocusedWindow, setGlobalFocusOwner, setGlobalPermanentFocusOwner, upFocusCycle
 
從類別 java.lang.Object 繼承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

建構子詳細資訊

DefaultFocusManager

public DefaultFocusManager()
方法詳細資訊

getComponentAfter

public Component getComponentAfter(Container aContainer,
                                   Component aComponent)

getComponentBefore

public Component getComponentBefore(Container aContainer,
                                    Component aComponent)

getFirstComponent

public Component getFirstComponent(Container aContainer)

getLastComponent

public Component getLastComponent(Container aContainer)

compareTabOrder

public boolean compareTabOrder(Component a,
                               Component b)

JavaTM 2 Platform
Standard Ed. 6

提交錯誤或意見

版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only