Example usage for com.google.gwt.user.client.ui Focusable setTabIndex

List of usage examples for com.google.gwt.user.client.ui Focusable setTabIndex

Introduction

In this page you can find the example usage for com.google.gwt.user.client.ui Focusable setTabIndex.

Prototype

void setTabIndex(int index);

Source Link

Document

Sets the widget's position in the tab index.

Usage

From source file:fr.putnami.pwt.core.widget.client.FormGroup.java

License:Open Source License

private void initFocusableEditor() {
    if (editor instanceof Focusable) {
        Focusable focusable = (Focusable) editor;
        if (accessKey != null) {
            focusable.setAccessKey(accessKey);
        }//from  w  w  w.j a  v  a  2 s .  c o m
        if (tabIndex != null) {
            focusable.setTabIndex(tabIndex);
        }
    }
}