public interface ReportBuilderConfig<D> extends GridBuilderConfig<D>
TableBuilder.of("Hotel Report") .add(Hotel::getName, "Hotel", NAME) .add(Hotel::getCity, "City", CITY) .add(Hotel::getStreet, "Street") .build(httpServletRequest, httpServletResponse, resource);
@Nonnull HtmlConfig getConfig()
getConfig
in interface GridBuilderConfig<D>
@Nonnull String getCssLink()
getCssLink
in interface GridBuilderConfig<D>
@Nonnull String getJavascriptLink()
getJavascriptLink
in interface GridBuilderConfig<D>
@Nonnull Duration getIdleDelay()
getIdleDelay
in interface GridBuilderConfig<D>
@Nonnull HttpParameter getAjaxRequestParam()
getAjaxRequestParam
in interface GridBuilderConfig<D>
@Nonnull HttpParameter getSortRequestParam()
getSortRequestParam
in interface GridBuilderConfig<D>
@Nonnull CharSequence getAjaxReadyMessage()
getAjaxReadyMessage
in interface GridBuilderConfig<D>
@Nonnull String getFormId()
getFormId
in interface GridBuilderConfig<D>
@Nonnull String getControlCss()
getControlCss
in interface GridBuilderConfig<D>
@Nonnull String getSubtitleCss()
getSubtitleCss
in interface GridBuilderConfig<D>
@Nonnull CharSequence getTableSelector()
getTableSelector
in interface GridBuilderConfig<D>
@Nonnull List<CharSequence> getTableCssClass()
getTableCssClass
in interface GridBuilderConfig<D>
@Nonnull CharSequence getSortable()
getSortable
in interface GridBuilderConfig<D>
@Nonnull CharSequence getSortableAsc()
getSortableAsc
in interface GridBuilderConfig<D>
@Nonnull CharSequence getSortableDesc()
getSortableDesc
in interface GridBuilderConfig<D>
@Nonnull CharSequence getSortableBoth()
getSortableBoth
in interface GridBuilderConfig<D>
boolean isEmbeddedIcons()
isEmbeddedIcons
in interface GridBuilderConfig<D>
BiConsumer<Element,Boolean> getCssWriter()
getCssWriter
in interface GridBuilderConfig<D>
@Nonnull default CharSequence getSortableDirection(@Nonnull Direction direction)
getSortableDirection
in interface GridBuilderConfig<D>
@Nullable default InputStream getInnerSortableImageToStream(@Nonnull Direction direction)
getInnerSortableImageToStream
in interface GridBuilderConfig<D>
@Nonnull default String getInnerSortableImage(@Nonnull Direction direction)
getInnerSortableImage
in interface GridBuilderConfig<D>
@Nonnull static ReportBuilderConfigImpl of(@Nonnull HtmlConfig config)
of
in interface GridBuilderConfig<D>
Copyright 2019-2022, Pavel Ponec