public class ReportBuilderConfigImpl<D> extends Object implements ReportBuilderConfig<D>
TableBuilder.of("Hotel Report")
.add(Hotel::getName, "Hotel", NAME)
.add(Hotel::getCity, "City", CITY)
.add(Hotel::getStreet, "Street")
.build(httpServletRequest, httpServletResponse, resource);
| Modifier and Type | Class and Description |
|---|---|
static class |
ReportBuilderConfigImpl.Constants
Config constants
|
| Modifier and Type | Field and Description |
|---|---|
protected @NotNull HtmlConfig |
config
HTML config
|
| Modifier | Constructor and Description |
|---|---|
|
ReportBuilderConfigImpl(@NotNull HtmlConfig config) |
protected |
ReportBuilderConfigImpl(@NotNull HtmlConfig config,
@NotNull String cssLink,
@NotNull String jqueryLink,
@NotNull Duration idleDelay,
@NotNull HttpParameter ajaxRequestParam,
@NotNull HttpParameter sortRequestParam,
@NotNull String formId,
@NotNull String controlCss,
@NotNull String subtitleCss,
@NotNull List<CharSequence> tableCssClass,
@NotNull String sortableColumn,
@NotNull String sortableAsc,
@NotNull String sortableDesc,
@NotNull String sortableBoth,
boolean embeddedIcons,
@NotNull BiConsumer<Element,Boolean> cssWriter) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInnerSortableImage, getInnerSortableImageToStream, getSortableDirection, of@NotNull protected final @NotNull HtmlConfig config
public ReportBuilderConfigImpl(@NotNull
@NotNull HtmlConfig config)
protected ReportBuilderConfigImpl(@NotNull
@NotNull HtmlConfig config,
@NotNull
@NotNull String cssLink,
@NotNull
@NotNull String jqueryLink,
@NotNull
@NotNull Duration idleDelay,
@NotNull
@NotNull HttpParameter ajaxRequestParam,
@NotNull
@NotNull HttpParameter sortRequestParam,
@NotNull
@NotNull String formId,
@NotNull
@NotNull String controlCss,
@NotNull
@NotNull String subtitleCss,
@NotNull
@NotNull List<CharSequence> tableCssClass,
@NotNull
@NotNull String sortableColumn,
@NotNull
@NotNull String sortableAsc,
@NotNull
@NotNull String sortableDesc,
@NotNull
@NotNull String sortableBoth,
boolean embeddedIcons,
@NotNull
@NotNull BiConsumer<Element,Boolean> cssWriter)
@NotNull protected @NotNull CharSequence getTableClassSelector()
public ReportBuilderConfigImpl<D> setCssLink(@NotNull @NotNull String cssLink)
public ReportBuilderConfigImpl<D> setJqueryLink(@NotNull @NotNull String jqueryLink)
public ReportBuilderConfigImpl<D> setIdleDelay(@NotNull @NotNull Duration idleDelay)
public ReportBuilderConfigImpl<D> setAjaxRequestParam(@NotNull @NotNull HttpParameter ajaxRequestParam)
public ReportBuilderConfigImpl<D> setSortRequestParam(@NotNull @NotNull HttpParameter sortRequestParam)
public ReportBuilderConfigImpl<D> setAjaxReadyMessage(@NotNull @NotNull CharSequence ajaxReadyMessage)
public ReportBuilderConfigImpl<D> setFormId(@NotNull @NotNull String formId)
public ReportBuilderConfigImpl<D> setControlCss(@NotNull @NotNull String controlCss)
public ReportBuilderConfigImpl<D> setSubtitleCss(@NotNull @NotNull String subtitleCss)
public ReportBuilderConfigImpl<D> setTableSelector(@NotNull @NotNull CharSequence tableSelector)
public ReportBuilderConfigImpl<D> setTableCssClass(@NotNull @NotNull List<CharSequence> tableCssClass)
public ReportBuilderConfigImpl<D> setCssWriter(@Nullable @Nullable BiConsumer<Element,Boolean> cssWriter)
public boolean setEmbeddedIcons(boolean embeddedIcons)
@NotNull public @NotNull HtmlConfig getConfig()
getConfig in interface ReportBuilderConfig<D>getConfig in interface GridBuilderConfig<D>@NotNull public @NotNull String getCssLink()
getCssLink in interface ReportBuilderConfig<D>getCssLink in interface GridBuilderConfig<D>@NotNull public @NotNull String getJavascriptLink()
getJavascriptLink in interface ReportBuilderConfig<D>getJavascriptLink in interface GridBuilderConfig<D>@NotNull public @NotNull Duration getIdleDelay()
getIdleDelay in interface ReportBuilderConfig<D>getIdleDelay in interface GridBuilderConfig<D>@NotNull public @NotNull HttpParameter getAjaxRequestParam()
getAjaxRequestParam in interface ReportBuilderConfig<D>getAjaxRequestParam in interface GridBuilderConfig<D>@NotNull public @NotNull HttpParameter getSortRequestParam()
getSortRequestParam in interface ReportBuilderConfig<D>getSortRequestParam in interface GridBuilderConfig<D>@NotNull public @NotNull CharSequence getAjaxReadyMessage()
getAjaxReadyMessage in interface ReportBuilderConfig<D>getAjaxReadyMessage in interface GridBuilderConfig<D>@NotNull public @NotNull String getFormId()
getFormId in interface ReportBuilderConfig<D>getFormId in interface GridBuilderConfig<D>@NotNull public @NotNull String getControlCss()
getControlCss in interface ReportBuilderConfig<D>getControlCss in interface GridBuilderConfig<D>@NotNull public @NotNull String getSubtitleCss()
getSubtitleCss in interface ReportBuilderConfig<D>getSubtitleCss in interface GridBuilderConfig<D>@NotNull public @NotNull CharSequence getTableSelector()
getTableSelector in interface ReportBuilderConfig<D>getTableSelector in interface GridBuilderConfig<D>@NotNull public @NotNull List<CharSequence> getTableCssClass()
getTableCssClass in interface ReportBuilderConfig<D>getTableCssClass in interface GridBuilderConfig<D>@NotNull public @NotNull CharSequence getSortable()
getSortable in interface ReportBuilderConfig<D>getSortable in interface GridBuilderConfig<D>@NotNull public @NotNull CharSequence getSortableAsc()
getSortableAsc in interface ReportBuilderConfig<D>getSortableAsc in interface GridBuilderConfig<D>@NotNull public @NotNull CharSequence getSortableDesc()
getSortableDesc in interface ReportBuilderConfig<D>getSortableDesc in interface GridBuilderConfig<D>@NotNull public @NotNull CharSequence getSortableBoth()
getSortableBoth in interface ReportBuilderConfig<D>getSortableBoth in interface GridBuilderConfig<D>@NotNull public @NotNull BiConsumer<Element,Boolean> getCssWriter()
inlineCssWriter() method.
}getCssWriter in interface ReportBuilderConfig<D>getCssWriter in interface GridBuilderConfig<D>public boolean isEmbeddedIcons()
isEmbeddedIcons in interface ReportBuilderConfig<D>isEmbeddedIcons in interface GridBuilderConfig<D>@NotNull protected @NotNull BiConsumer<Element,Boolean> inlineCssWriter()
Copyright 2015, Pavel Ponec