Events: onChange, onChanging, onFocus, onBlur, onSelection. @author tomyeh
Events: onChange, onChanging, onFocus, onBlur, and onSelection. @author tomyeh @since 3.5.2
179180181182183184185186187188189190191192
return new SimpleListModel(ary); } private void moveFocusToNext(HtmlBasedComponent current) { for (int i = 0; i < inputs.size(); i++) { InputElement c = inputs.get(i); if (c == current && (i + 1) < inputs.size()) { InputElement next = inputs.get(i + 1); next.focus(); focusComponent = next; movedToNext = true; break; } }
484950515253545556575859
return false; } public static boolean isInvalid(Component child) { if (child instanceof InputElement) { InputElement input = (InputElement) child; if (!input.isValid()) { return true; } } return false; }