组件应该“回绕”并将焦点设置到其所包含的第一个制表位。
The component should "wrap around" and set focus to its first contained TAB stop.
这样,只有当焦点被设置成“无组件(no component)”时才会返回空。
This will return null only when focus has been set to "no component."
设置跳格顺序和初始焦点
焦点改变或者不正确设置造成的意想不到的行为。
Unexpected behavior caused by changes in focus, or incorrect setting of focus.
另一种方法是在窗口激活时设置初始焦点。
Another approach would be to set the initial focus upon window activation.
设置一个view是否能在touch模式下获取焦点。
Boolean that controls whether a view can take focus while in touch mode.
设置一个view是否能在touch模式下获取焦点。
Boolean that controls whether a view can take focus while in touch mode.
应用推荐