List of usage examples for com.vaadin.ui AbstractField setTabIndex
@Override public void setTabIndex(int tabIndex)
From source file:com.google.code.vaadin.internal.preconfigured.VaadinComponentsInjector.java
License:Apache License
private static void configureAbstractFieldApi(AbstractField abstractField, Preconfigured preconfigured) { if (!(abstractField instanceof Form)) { abstractField.setInvalidAllowed(preconfigured.invalidAllowed()); }//from ww w . j a va 2s . c o m abstractField.setInvalidCommitted(preconfigured.invalidCommitted()); abstractField.setValidationVisible(preconfigured.validationVisible()); if (preconfigured.tabIndex() > -1) { abstractField.setTabIndex(preconfigured.tabIndex()); } }