public abstract class InternalFrameFocusTraversalPolicy extends FocusTraversalPolicy
| Constructor and Description | 
|---|
| InternalFrameFocusTraversalPolicy() | 
| Modifier and Type | Method and Description | 
|---|---|
| Component | getInitialComponent(JInternalFrame frame)
              返回当第一次选择JInternalFrame时应该接收焦点的组件。 
             | 
getComponentAfter, getComponentBefore, getDefaultComponent, getFirstComponent, getInitialComponent, getLastComponentpublic Component getInitialComponent(JInternalFrame frame)
setSelected(true)选择了setSelected(true) ,初始组件将不再被使用。 
           相反,如果JInternalFrame丢失并随后重新获得选择,或者使其成为隐形或不可显示,并随后显示和显示,则JInternalFrame最近关注的组件将成为焦点所有者。 
           此方法的默认实现将返回JInternalFrame的默认组件以进行对焦。 
          frame - 要返回其初始组件的JInternalFrame 
           IllegalArgumentException - 如果窗口为空 
           JInternalFrame.getMostRecentFocusOwner() 
            Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.