public class ContextMenuTree
extends org.apache.wicket.extensions.markup.html.tree.DefaultAbstractTree
Modifier and Type | Class and Description |
---|---|
static class |
ContextMenuTree.ContextLink |
class |
ContextMenuTree.ContextMenuTreeListener |
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
log |
Constructor and Description |
---|
ContextMenuTree(String id,
TreeModel model) |
Modifier and Type | Method and Description |
---|---|
protected void |
decorateNodeLink(org.apache.wicket.MarkupContainer nodeLink,
TreeNode node,
int level)
Override this method to decorate the nodeLink
|
protected org.apache.wicket.request.resource.ResourceReference |
getCSS() |
protected org.apache.wicket.request.resource.ResourceReference |
getNodeIcon(TreeNode node)
Deprecated.
node icons should be created in
newNodeIcon(MarkupContainer, String, TreeNode) . |
protected org.apache.wicket.MarkupContainer |
newContextContent(org.apache.wicket.MarkupContainer parent,
String id,
TreeNode node) |
protected org.apache.wicket.MarkupContainer |
newContextLink(org.apache.wicket.MarkupContainer parent,
String id,
TreeNode node,
org.apache.wicket.MarkupContainer content) |
protected org.apache.wicket.Component |
newMenuIcon(org.apache.wicket.MarkupContainer parent,
String id,
TreeNode node) |
protected org.apache.wicket.Component |
newNodeIcon(org.apache.wicket.MarkupContainer parent,
String id,
TreeNode node) |
protected void |
onContextLinkClicked(org.apache.wicket.MarkupContainer content,
org.apache.wicket.ajax.AjaxRequestTarget target) |
void |
onTargetRespond(org.apache.wicket.ajax.AjaxRequestTarget target) |
protected void |
onTargetRespond(org.apache.wicket.ajax.AjaxRequestTarget target,
boolean dirty) |
protected void |
populateTreeItem(org.apache.wicket.markup.html.WebMarkupContainer item,
int level) |
protected String |
renderNode(TreeNode node,
int level)
This method is called for every node to get it's string representation.
|
getFolderClosed, getFolderOpen, getItem, getLinkType, newIndentation, newJunctionImage, newJunctionLink, newLink, newNodeLink, onJunctionLinkClicked, onNodeLinkClicked, renderHead, setLinkType
addComponent, allNodesCollapsed, allNodesExpanded, getChildAt, getChildCount, getModel, getModelObject, getNodeComponent, getParentNode, getTreeState, invalidateAll, isForceRebuildOnSelectionChange, isLeaf, isNodeExpanded, isRootLess, markNodeChildrenDirty, markNodeDirty, newTreeState, nodeChildren, nodeCollapsed, nodeExpanded, nodeSelected, nodeUnselected, onAfterRender, onBeforeAttach, onBeforeRender, onDetach, setModel, setModelObject, setRootLess, treeNodesChanged, treeNodesInserted, treeNodesRemoved, treeStructureChanged, updateTree, updateTree
getWebApplication, 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, 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, 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, isRendering, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onComponentTag, onConfigure, onEvent, onInitialize, onModelChanged, 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
protected org.apache.wicket.request.resource.ResourceReference getCSS()
getCSS
in class org.apache.wicket.extensions.markup.html.tree.DefaultAbstractTree
protected org.apache.wicket.Component newMenuIcon(org.apache.wicket.MarkupContainer parent, String id, TreeNode node)
protected org.apache.wicket.MarkupContainer newContextContent(org.apache.wicket.MarkupContainer parent, String id, TreeNode node)
protected org.apache.wicket.MarkupContainer newContextLink(org.apache.wicket.MarkupContainer parent, String id, TreeNode node, org.apache.wicket.MarkupContainer content)
protected void onContextLinkClicked(org.apache.wicket.MarkupContainer content, org.apache.wicket.ajax.AjaxRequestTarget target)
@Deprecated protected final org.apache.wicket.request.resource.ResourceReference getNodeIcon(TreeNode node)
newNodeIcon(MarkupContainer, String, TreeNode)
.getNodeIcon
in class org.apache.wicket.extensions.markup.html.tree.DefaultAbstractTree
protected org.apache.wicket.Component newNodeIcon(org.apache.wicket.MarkupContainer parent, String id, TreeNode node)
newNodeIcon
in class org.apache.wicket.extensions.markup.html.tree.DefaultAbstractTree
protected void populateTreeItem(org.apache.wicket.markup.html.WebMarkupContainer item, int level)
populateTreeItem
in class org.apache.wicket.extensions.markup.html.tree.AbstractTree
protected void decorateNodeLink(org.apache.wicket.MarkupContainer nodeLink, TreeNode node, int level)
protected String renderNode(TreeNode node, int level)
node
- The tree node to get the string representation ofpublic final void onTargetRespond(org.apache.wicket.ajax.AjaxRequestTarget target)
onTargetRespond
in interface org.apache.wicket.ajax.AjaxRequestTarget.ITargetRespondListener
onTargetRespond
in class org.apache.wicket.extensions.markup.html.tree.AbstractTree
protected void onTargetRespond(org.apache.wicket.ajax.AjaxRequestTarget target, boolean dirty)
Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.