public static class AjaxDataTablePanel.Builder<T extends Serializable,S> extends Object implements Serializable
Constructor and Description |
---|
Builder(ISortableDataProvider<T,S> provider,
PageReference pageRef) |
Modifier and Type | Method and Description |
---|---|
AjaxDataTablePanel.Builder<T,S> |
addBatch(ActionLink.ActionType actionType) |
AjaxDataTablePanel.Builder<T,S> |
addColumn(IColumn<T,S> column) |
AjaxDataTablePanel<T,S> |
build(String id) |
AjaxDataTablePanel.Builder<T,S> |
disableCheckBoxes() |
protected ActionsPanel<T> |
getActions(IModel<T> model) |
protected ActionLinksTogglePanel<T> |
getTogglePanel() |
AjaxDataTablePanel.Builder<T,S> |
setBatches(Collection<ActionLink.ActionType> batches,
RestClient batchExecutor,
String itemKeyField) |
AjaxDataTablePanel.Builder<T,S> |
setBatchExecutor(BaseRestClient batchExecutor) |
AjaxDataTablePanel.Builder<T,S> |
setColumns(List<IColumn<T,S>> columns) |
AjaxDataTablePanel.Builder<T,S> |
setContainer(WebMarkupContainer container) |
AjaxDataTablePanel.Builder<T,S> |
setItemKeyField(String itemKeyField) |
void |
setMultiLevelPanel(BaseModal<?> baseModal,
MultilevelPanel multiLevelPanel) |
AjaxDataTablePanel.Builder<T,S> |
setRowsPerPage(int rowsPerPage) |
public Builder(ISortableDataProvider<T,S> provider, PageReference pageRef)
public AjaxDataTablePanel<T,S> build(String id)
public AjaxDataTablePanel.Builder<T,S> setContainer(WebMarkupContainer container)
public AjaxDataTablePanel.Builder<T,S> addBatch(ActionLink.ActionType actionType)
public AjaxDataTablePanel.Builder<T,S> setBatchExecutor(BaseRestClient batchExecutor)
public AjaxDataTablePanel.Builder<T,S> setItemKeyField(String itemKeyField)
public AjaxDataTablePanel.Builder<T,S> setBatches(Collection<ActionLink.ActionType> batches, RestClient batchExecutor, String itemKeyField)
public AjaxDataTablePanel.Builder<T,S> setRowsPerPage(int rowsPerPage)
public AjaxDataTablePanel.Builder<T,S> disableCheckBoxes()
public void setMultiLevelPanel(BaseModal<?> baseModal, MultilevelPanel multiLevelPanel)
protected ActionsPanel<T> getActions(IModel<T> model)
protected ActionLinksTogglePanel<T> getTogglePanel()
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.