@Override public boolean resetFocus(Context context, Element parent, C value) { Element curChild = getContainerElement(parent).getFirstChildElement(); for (HasCell<C, ?> hasCell : hasCells) { // The first child that takes focus wins. Only one child should ever be in // edit mode, so this is safe. if (resetFocusImpl(context, curChild, value, hasCell)) { return true; } curChild = curChild.getNextSiblingElement(); } return false; }
@Override public boolean resetFocus(Context context, Element parent, C value) { Element curChild = getContainerElement(parent).getFirstChildElement(); for (HasCell<C, ?> hasCell : hasCells) { // The first child that takes focus wins. Only one child should ever be in // edit mode, so this is safe. if (resetFocusImpl(context, curChild, value, hasCell)) { return true; } curChild = curChild.getNextSiblingElement(); } return false; }
@Override public boolean resetFocus(Context context, Element parent, C value) { Element curChild = getContainerElement(parent).getFirstChildElement(); for (HasCell<C, ?> hasCell : hasCells) { // The first child that takes focus wins. Only one child should ever be in // edit mode, so this is safe. if (resetFocusImpl(context, curChild, value, hasCell)) { return true; } curChild = curChild.getNextSiblingElement(); } return false; }