public interface Focusable
Modifier and Type | Method and Description |
---|---|
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.
|
int getTabIndex()
void setAccessKey(char key)
key
- the widget's access keyvoid setFocus(boolean focused)
focused
- whether this widget should take focus or release itvoid setTabIndex(int index)
-1
will cause this widget to
be removed from the tab order.index
- the widget's tab indexCopyright © 2018. All rights reserved.