public abstract class ExpandCollapseListingPlugin<T> extends AbstractListingPlugin<T> implements IExpandableCollapsable
RenderService.ExtensionPoint
dataTable
BEHAVIOR, children, CSS_ID, DEFAULT_LOCALE, EXTENSIONS_ID, FEEDBACK, MODEL_ID, SKIN_ID, VARIANT_ID, VISIBLE, WICKET_ID
Constructor and Description |
---|
ExpandCollapseListingPlugin(IPluginContext context,
IPluginConfig config) |
Modifier and Type | Method and Description |
---|---|
protected void |
addButton(org.apache.wicket.Component c) |
void |
collapse() |
void |
expand() |
protected DataTableBehavior |
getBehavior() |
protected List<ListColumn<javax.jcr.Node>> |
getColumns() |
protected IListColumnProvider |
getDefaultColumnProvider() |
protected List<IListColumnProvider> |
getDefaultColumnProviders() |
protected List<ListColumn<javax.jcr.Node>> |
getExpandedColumns() |
protected List<IListColumnProvider> |
getListColumnProviders() |
protected ListDataTable<javax.jcr.Node> |
getListDataTable(String id,
TableDefinition<javax.jcr.Node> tableDefinition,
org.apache.wicket.extensions.markup.html.repeater.data.table.ISortableDataProvider<javax.jcr.Node,String> dataProvider,
ListDataTable.TableSelectionListener<javax.jcr.Node> selectionListener,
boolean triState,
ListPagingDefinition pagingDefinition) |
boolean |
isSupported() |
protected ListDataTable<javax.jcr.Node> |
newListDataTable(String id,
TableDefinition<javax.jcr.Node> tableDefinition,
org.apache.wicket.extensions.markup.html.repeater.data.table.ISortableDataProvider<javax.jcr.Node,String> dataProvider,
ListDataTable.TableSelectionListener<javax.jcr.Node> selectionListener,
boolean triState,
ListPagingDefinition pagingDefinition) |
protected TableDefinition<javax.jcr.Node> |
newTableDefinition() |
protected void |
onSelectionChanged(org.apache.wicket.model.IModel<javax.jcr.Node> model) |
void |
render(PluginRequestTarget target)
Called after user events and JCR events have been handled, but before
the rendering has started.
|
void |
renderHead(org.apache.wicket.markup.head.IHeaderResponse response) |
void |
setClassName(String className) |
getSelectedModel, getTableDefinition, isOrderable, newDataProvider, onModelChanged, onStop, selectionChanged, setSelectedModel, updateSelection
newPlugin, newPlugin, onStart, start, stop
createExtensionPoint
addExtensionPoint, bind, focus, getBundleName, getComponent, getDialogService, getId, getMarkupId, getModel, getModelObject, getObservable, getParentService, getPluginConfig, getPluginContext, getResourceBundleModel, getSession, getVariation, isActive, onAfterRender, onBeforeRender, onComponentTag, onComponentTagBody, onEvent, redraw, removeExtensionPoint, setDefaultModel, setModel, setModelObject, unbind, updateModel
getWebPage, getWebRequest, getWebResponse, getWebSession
add, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildren
add, addStateChange, afterRender, beforeRender, canCallListenerInterface, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, debug, detach, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalPrepareForRender, internalRenderComponent, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onConfigure, onDetach, onEvent, onInitialize, onModelChanging, onReAdd, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setRequestFlag, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, visitParents, warn, wrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public ExpandCollapseListingPlugin(IPluginContext context, IPluginConfig config)
protected void addButton(org.apache.wicket.Component c)
public void setClassName(String className)
protected TableDefinition<javax.jcr.Node> newTableDefinition()
newTableDefinition
in class AbstractListingPlugin<T>
public void collapse()
collapse
in interface IExpandableCollapsable
public boolean isSupported()
isSupported
in interface IExpandableCollapsable
public void expand()
expand
in interface IExpandableCollapsable
protected void onSelectionChanged(org.apache.wicket.model.IModel<javax.jcr.Node> model)
onSelectionChanged
in class AbstractListingPlugin<T>
protected final ListDataTable<javax.jcr.Node> getListDataTable(String id, TableDefinition<javax.jcr.Node> tableDefinition, org.apache.wicket.extensions.markup.html.repeater.data.table.ISortableDataProvider<javax.jcr.Node,String> dataProvider, ListDataTable.TableSelectionListener<javax.jcr.Node> selectionListener, boolean triState, ListPagingDefinition pagingDefinition)
getListDataTable
in class AbstractListingPlugin<T>
protected ListDataTable<javax.jcr.Node> newListDataTable(String id, TableDefinition<javax.jcr.Node> tableDefinition, org.apache.wicket.extensions.markup.html.repeater.data.table.ISortableDataProvider<javax.jcr.Node,String> dataProvider, ListDataTable.TableSelectionListener<javax.jcr.Node> selectionListener, boolean triState, ListPagingDefinition pagingDefinition)
newListDataTable
in class AbstractListingPlugin<T>
protected DataTableBehavior getBehavior()
public void renderHead(org.apache.wicket.markup.head.IHeaderResponse response)
renderHead
in interface org.apache.wicket.markup.html.IHeaderContributor
renderHead
in class org.apache.wicket.Component
public void render(PluginRequestTarget target)
AbstractRenderService
Component
s with
the request target to enlist in the rendering phase.
Implementations that use extensions must call the same method on those.
render
in interface IRenderService
render
in class AbstractListingPlugin<T>
protected List<IListColumnProvider> getListColumnProviders()
protected List<ListColumn<javax.jcr.Node>> getColumns()
protected List<ListColumn<javax.jcr.Node>> getExpandedColumns()
protected List<IListColumnProvider> getDefaultColumnProviders()
protected IListColumnProvider getDefaultColumnProvider()
Copyright © 2007–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.