@Override protected void buildContent(BSContainer<?> content, Form<?> form) { buildContent.accept(content, form); } };
@Override public void onComponentTag(Component component, ComponentTag tag) { IBiConsumer.noopIfNull(onComponentTag).accept(component, tag); } };
static <T, U> IBiConsumer<T, U> noopIfNull(IBiConsumer<T, U> consumer) { return (consumer != null) ? consumer : noop(); }
@Override public IAjaxUpdateConfiguration<Component> setUpdateAjaxAttributes(IBiConsumer<Component, AjaxRequestAttributes> updateAjaxAttributes) { this.updateAjaxAttributes = IBiConsumer.noopIfNull(updateAjaxAttributes); return this; } @Override
@Override public IAjaxUpdateConfiguration<Component> setUpdateAjaxAttributes(IBiConsumer<Component, AjaxRequestAttributes> updateAjaxAttributes) { this.updateAjaxAttributes = IBiConsumer.noopIfNull(updateAjaxAttributes); return this; } @Override
@Override protected void buildFooter(BSContainer<?> footer, Form<?> form) { buildFooter.accept(footer, form); } };
@Override public void onComponentTag(Component component, ComponentTag tag) { IBiConsumer.noopIfNull(onComponentTag).accept(component, tag); } };
@Override public IAjaxUpdateConfiguration<Component> setUpdateAjaxAttributes(IBiConsumer<Component, AjaxRequestAttributes> updateAjaxAttributes) { this.updateAjaxAttributes = IBiConsumer.noopIfNull(updateAjaxAttributes); return this; } @Override
@Override protected void buildHeading(BSContainer<?> heading, Form<?> form) { buildHeading.accept(heading, form); } @Override
@Override public IAjaxUpdateConfiguration<Component> setUpdateAjaxAttributes(IBiConsumer<Component, AjaxRequestAttributes> updateAjaxAttributes) { this.updateAjaxAttributes = IBiConsumer.noopIfNull(updateAjaxAttributes); return this; } @Override
@Override protected void buildContent(BSContainer<?> content, Form<?> form) { buildContent.accept(content, form); } @Override
@Override public IAjaxUpdateConfiguration<Component> setUpdateAjaxAttributes(IBiConsumer<Component, AjaxRequestAttributes> updateAjaxAttributes) { this.updateAjaxAttributes = IBiConsumer.noopIfNull(updateAjaxAttributes); return this; } @Override
@Override protected void buildContent(BSContainer<?> content, Form<?> form) { buildContent.accept(content, form); } };
@Override protected void buildFooter(BSContainer<?> footer, Form<?> form) { buildFooter.accept(footer, form); }
@Override protected void buildHeading(BSContainer<?> heading, Form<?> form) { buildHeading.accept(heading, form); }
@Override protected void buildHeading(BSContainer<?> heading, Form<?> form) { buildHeading.accept(heading, form); }
@Override protected void buildContent(BSContainer<?> content, Form<?> form) { buildContent.accept(content, form); } };
@Override protected void buildHeading(BSContainer<?> heading, Form<?> form) { buildHeading.accept(heading, form); }
@Override protected void buildFooter(BSContainer<?> footer, Form<?> form) { buildFooter.accept(footer, form); }
@Override protected void buildFooter(BSContainer<?> footer, Form<?> form) { buildFooter.accept(footer, form); }