|
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.KeyboardFocusManager
和 java.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
|
上一个类
下一个类 |
框架
无框架
|
摘要: 嵌套 | 字段 | 构造方法 | 方法 |
详细信息: 字段 | 构造方法 | 方法 |
提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java 2 SDK SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。 版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。