@Test public void allValid() { final StringProperty name = stringProperty("name").regex("\\d+", "Must be digits"); p.add(new TextBoxFormLine(name)); name.set("a"); assertThat(p.allValid().isValid(), is(false)); name.set("1"); assertThat(p.allValid().isValid(), is(true)); }
public PropertyGroup allValid() { return all; }
FormPresenter extends BasicPresenter<IsFlowPanel> { public PropertyGroup allValid() { return all; } }
FormPresenter extends BasicPresenter<IsFlowPanel> { public PropertyGroup allValid() { return all; } FormPresenter(String id);  FormPresenter(String id, FormLayout layout); }
FormPresenter extends BasicPresenter<IsFlowPanel> { public PropertyGroup allValid() { return all; } FormPresenter(String id);  FormPresenter(String id, FormLayout layout); @Override void onBind(); PropertyGroup allValid(); void add(FormLine line); void add(FormAction action); void focusFirstLine(); String getId(); ArrayList<FormLine> getFormLines(); ArrayList<FormAction> getFormActions(); void setDefaultAction(FormAction defaultAction); void watchForEnterKey(final HasAllKeyHandlers source); }
FormPresenter extends BasicPresenter<IsFlowPanel> { public PropertyGroup allValid() { return all; } FormPresenter(String id);  FormPresenter(String id, FormLayout layout); @Override void onBind(); PropertyGroup allValid(); void add(FormLine line); void add(FormAction action); void focusFirstLine(); String getId(); ArrayList<FormLine> getFormLines(); ArrayList<FormAction> getFormActions(); void setDefaultAction(FormAction defaultAction); void watchForEnterKey(final HasAllKeyHandlers source);  }