com.google.gwt.user.client.ui.Focusable |
Known Indirect Subclasses
AbstractHasData<T>,
Anchor,
Audio,
Button,
ButtonBase,
Canvas,
CellList<T>,
CellTable<T>,
CellTree,
CheckBox,
CustomButton,
DoubleBox,
FocusPanel,
FocusWidget,
HasFocus,
and
20 others.
|
A widget that implements this interface can receive keyboard focus.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the widget's position in the tab index.
| |||||||||||
Sets the widget's 'access key'.
| |||||||||||
Explicitly focus/unfocus this widget.
| |||||||||||
Sets the widget's position in the tab index.
|
Gets the widget's position in the tab index.
Sets the widget's 'access key'. This key is used (in conjunction with a browser-specific modifier key) to automatically focus the widget.
key | the widget's access key |
---|
Explicitly focus/unfocus this widget. Only one widget can have focus at a time, and the widget that does will receive all keyboard events.
focused | whether this widget should take focus or release it |
---|
Sets the widget's position in the tab index. If more than one widget has
the same tab index, each such widget will receive focus in an arbitrary
order. Setting the tab index to -1
will cause this widget to
be removed from the tab order.
index | the widget's tab index |
---|