public abstract class TreeNode<T>
extends org.apache.wicket.markup.html.panel.Panel
AjaxFallbackLink
for its junction component.createJunctionComponent(String)
,
Serialized FormModifier and Type | Field and Description |
---|---|
static String |
CONTENT_ID |
Constructor and Description |
---|
TreeNode(String id,
AbstractTree<T> tree,
org.apache.wicket.model.IModel<T> model) |
Modifier and Type | Method and Description |
---|---|
protected abstract org.apache.wicket.Component |
createContent(String id,
org.apache.wicket.model.IModel<T> model)
Create the component to display the actual node's content.
|
protected org.apache.wicket.MarkupContainer |
createJunctionComponent(String id)
The junction component expands and collapses this node.
|
protected String |
getCollapsedStyleClass() |
protected String |
getExpandedStyleClass(T t) |
org.apache.wicket.model.IModel<T> |
getModel() |
T |
getModelObject() |
protected String |
getOtherStyleClass() |
protected String |
getStyleClass()
Get the style class depending on the current
AbstractTree.State of this node. |
getWebPage, getWebRequest, getWebResponse, getWebSession
add, 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, visitChildren
add, addStateChange, afterRender, beforeRender, canCallListenerInterface, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, 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, 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, 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, wrap
public static final String CONTENT_ID
public TreeNode(String id, AbstractTree<T> tree, org.apache.wicket.model.IModel<T> model)
public org.apache.wicket.model.IModel<T> getModel()
public T getModelObject()
protected org.apache.wicket.MarkupContainer createJunctionComponent(String id)
protected abstract org.apache.wicket.Component createContent(String id, org.apache.wicket.model.IModel<T> model)
id
- the component idmodel
- the node's modelprotected String getStyleClass()
AbstractTree.State
of this node.protected String getCollapsedStyleClass()
protected String getOtherStyleClass()
Copyright © 2013 evolveum. All rights reserved.