java命名空间java.awt类window的类成员方法:
getfocustraversalkeys定义及介绍
本文导语:
getfocustraversalkeys
public set getfocustraversalkeys(int id)
获取此窗口的焦点遍历键。(有关每个键的完整描述,请参阅 setfocustraversalkeys。)
如果未为此窗口显式设置遍历键,则返回此窗口的父窗口的遍历键。如果未为此窗口的任何...
getfocustraversalkeys
public set getfocustraversalkeys(int id)
- 获取此窗口的焦点遍历键。(有关每个键的完整描述,请参阅
setfocustraversalkeys
。)
如果未为此窗口显式设置遍历键,则返回此窗口的父窗口的遍历键。如果未为此窗口的任何祖先显式设置遍历键,则返回当前 keyboardfocusmanager 的默认遍历键。
- 覆盖:
- 类
container
中的 getfocustraversalkeys
- 参数:
id
- keyboardfocusmanager.forward_traversal_keys、keyboardfocusmanager.backward_traversal_keys、keyboardfocusmanager.up_cycle_traversal_keys 或 keyboardfocusmanager.down_cycle_traversal_keys 之一
- 返回:
- 指定键的 awtkeystroke
- 抛出:
illegalargumentexception
- 如果 id 不是 keyboardfocusmanager.forward_traversal_keys、keyboardfocusmanager.backward_traversal_keys、keyboardfocusmanager.up_cycle_traversal_keys 或 keyboardfocusmanager.down_cycle_traversal_keys 之一- 从以下版本开始:
- 1.4
- 另请参见:
container.setfocustraversalkeys(int, java.util.set extends java.awt.awtkeystroke>)
,
keyboardfocusmanager.forward_traversal_keys
,
keyboardfocusmanager.backward_traversal_keys
,
keyboardfocusmanager.up_cycle_traversal_keys
,
keyboardfocusmanager.down_cycle_traversal_keys