@Test public void optionalHiddenByDefault() { final BasicLine line = new BasicLine(); assertThat(line.getView().optional(), is(hidden())); }
@VisibleForTesting IsBasicLineView getView() { return view; }
BasicLine extends AbstractLine { @VisibleForTesting IsBasicLineView getView() { return view; } }
BasicLine extends AbstractLine { @VisibleForTesting IsBasicLineView getView() { return view; } BasicLine(); }
BasicLine extends AbstractLine { @VisibleForTesting IsBasicLineView getView() { return view; } BasicLine(); void addContent(final IsWidget w); void setInputPrepend(final boolean prepend); void setLabel(final String label); IsTextList getErrorList(); IsIndexedPanel getControls(); IsElement getLabel(); @VisibleForTesting IsHTMLPanel controlGroup(); @Override void addToValid(final Property<?> property); void alwaysHideOptionalLabel(); void alwaysHideErrorLabel(); }
BasicLine extends AbstractLine { @VisibleForTesting IsBasicLineView getView() { return view; } BasicLine(); void addContent(final IsWidget w); void setInputPrepend(final boolean prepend); void setLabel(final String label); IsTextList getErrorList(); IsIndexedPanel getControls(); IsElement getLabel(); @VisibleForTesting IsHTMLPanel controlGroup(); @Override void addToValid(final Property<?> property); void alwaysHideOptionalLabel(); void alwaysHideErrorLabel();  }