List of usage examples for com.google.gwt.user.client.ui Focusable getTabIndex
int getTabIndex();
From source file:asquare.gwt.tk.client.ui.behavior.FocusModel.java
License:Apache License
/** * Determines whether the specified Widget can be added to the model. * /*from ww w . j a va2s . co m*/ * @param widget a widget which is candidate to be added to the model * @return <code>true</code> if <code>widget.getTabIndex() >= 0</code> */ protected boolean shouldAdd(Focusable widget) { return widget.getTabIndex() >= 0; }