|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A widget that implements this interface can receive keyboard focus.
Method Summary | |
int |
getTabIndex()
Gets the widget's position in the tab index. |
void |
setAccessKey(char key)
Sets the widget's 'access key'. |
void |
setFocus(boolean focused)
Explicitly focus/unfocus this widget. |
void |
setTabIndex(int index)
Sets the widget's position in the tab index. |
Methods inherited from interface com.google.gwt.user.client.ui.SourcesFocusEvents |
addFocusListener, removeFocusListener |
Methods inherited from interface com.google.gwt.user.client.ui.SourcesKeyboardEvents |
addKeyboardListener, removeKeyboardListener |
Method Detail |
public int getTabIndex()
public void setAccessKey(char key)
key
- the widget's access keypublic void setFocus(boolean focused)
focused
- whether this widget should take focus or release itpublic void setTabIndex(int index)
-1
will cause this widget to
be removed from the tab order.
index
- the widget's tab index
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |