@Test public void testDefaultFocusElement() { screenCreator.setDefaultFocusElement("defaultFocusElement"); replay(screenCreator); ScreenBuilder screenBuilder = new ScreenBuilderCreatorMock(); screenBuilder.defaultFocusElement("defaultFocusElement"); assertEquals(screen, screenBuilder.build(niftyMock)); }
public ScreenBuilder defaultFocusElement(final String defaultFocusElement) { creator.setDefaultFocusElement(defaultFocusElement); return this; }
ScreenBuilder { public ScreenBuilder defaultFocusElement(final String defaultFocusElement) { creator.setDefaultFocusElement(defaultFocusElement); return this; } }
ScreenBuilder { public ScreenBuilder defaultFocusElement(final String defaultFocusElement) { creator.setDefaultFocusElement(defaultFocusElement); return this; } ScreenBuilder(@Nonnull final String id);  ScreenBuilder(final String id, final ScreenController controller); }
ScreenBuilder { public ScreenBuilder defaultFocusElement(final String defaultFocusElement) { creator.setDefaultFocusElement(defaultFocusElement); return this; } ScreenBuilder(@Nonnull final String id);  ScreenBuilder(final String id, final ScreenController controller); ScreenBuilder controller(final ScreenController controller); ScreenBuilder defaultFocusElement(final String defaultFocusElement); ScreenBuilder inputMapping(final String inputMapping); ScreenBuilder inputMappingPre(final String inputMappingPre); ScreenBuilder layer(final LayerBuilder layerBuilder); @Nonnull Screen build(@Nonnull final Nifty nifty); }
ScreenBuilder { public ScreenBuilder defaultFocusElement(final String defaultFocusElement) { creator.setDefaultFocusElement(defaultFocusElement); return this; } ScreenBuilder(@Nonnull final String id);  ScreenBuilder(final String id, final ScreenController controller); ScreenBuilder controller(final ScreenController controller); ScreenBuilder defaultFocusElement(final String defaultFocusElement); ScreenBuilder inputMapping(final String inputMapping); ScreenBuilder inputMappingPre(final String inputMappingPre); ScreenBuilder layer(final LayerBuilder layerBuilder); @Nonnull Screen build(@Nonnull final Nifty nifty);  }