T - the generic typepublic abstract class AbstractTreePanel<T>
extends org.apache.wicket.markup.html.panel.Panel
| Modifier and Type | Field and Description |
|---|---|
protected List<Content<T>> |
contents
The contents.
|
| Constructor and Description |
|---|
AbstractTreePanel(String id,
org.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider<T> treeProvider,
org.apache.wicket.extensions.markup.html.repeater.util.ProviderSubset<T> state,
Content<T> content)
Instantiates a new abstract tree panel.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.apache.wicket.extensions.markup.html.repeater.tree.AbstractTree<T> |
createTree(org.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider<T> provider,
org.apache.wicket.model.IModel<Set<T>> state)
Creates the tree.
|
void |
detachModels()
.
|
Content<T> |
getContent()
Gets the content.
|
List<Content<T>> |
getContents()
Gets the contents.
|
org.apache.wicket.extensions.markup.html.repeater.tree.AbstractTree<T> |
getTree()
Gets the tree.
|
org.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider<T> |
getTreeProvider()
Gets the treeProvider.
|
protected abstract List<Content<T>> |
initContents()
Inits the contents.
|
protected org.apache.wicket.Component |
newContentComponent(String id,
org.apache.wicket.model.IModel<T> model)
New content component.
|
protected void |
setContent(Content<T> content)
Sets the content.
|
protected abstract void |
setContents(List<Content<T>> contents)
Sets the contents.
|
protected void |
setTree(org.apache.wicket.extensions.markup.html.repeater.tree.AbstractTree<T> tree)
Sets the tree.
|
getWebPage, getWebRequest, getWebResponse, getWebSessionadd, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildrenadd, addStateChange, afterRender, beforeRender, canCallListenerInterface, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, debug, detach, detachModel, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalPrepareForRender, internalRenderComponent, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onAfterRender, onBeforeRender, onComponentTag, onConfigure, onDetach, onEvent, onInitialize, onModelChanged, onModelChanging, onReAdd, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, 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, wrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic AbstractTreePanel(String id, org.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider<T> treeProvider, org.apache.wicket.extensions.markup.html.repeater.util.ProviderSubset<T> state, Content<T> content)
id - the idtreeProvider - the treeProviderstate - the statecontent - the contentprotected abstract org.apache.wicket.extensions.markup.html.repeater.tree.AbstractTree<T> createTree(org.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider<T> provider, org.apache.wicket.model.IModel<Set<T>> state)
provider - the treeProviderstate - the statepublic void detachModels()
detachModels in class org.apache.wicket.ComponentComponent.detachModels()public org.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider<T> getTreeProvider()
public org.apache.wicket.extensions.markup.html.repeater.tree.AbstractTree<T> getTree()
protected abstract List<Content<T>> initContents()
protected org.apache.wicket.Component newContentComponent(String id, org.apache.wicket.model.IModel<T> model)
id - the idmodel - the modelprotected void setContent(Content<T> content)
content - the new contentprotected abstract void setContents(List<Content<T>> contents)
contents - the new contentsprotected void setTree(org.apache.wicket.extensions.markup.html.repeater.tree.AbstractTree<T> tree)
tree - the new treeCopyright © 2015. All rights reserved.