public class JcrTreeNode extends NodeModelWrapper<JcrTreeNode> implements IJcrTreeNode
nodeModel
Constructor and Description |
---|
JcrTreeNode(org.apache.wicket.model.IModel<javax.jcr.Node> nodeModel,
IJcrTreeNode parent) |
JcrTreeNode(org.apache.wicket.model.IModel<javax.jcr.Node> nodeModel,
IJcrTreeNode parent,
Comparator<IJcrTreeNode> comparator) |
Modifier and Type | Method and Description |
---|---|
Enumeration<? extends TreeNode> |
children() |
void |
detach() |
boolean |
equals(Object object) |
boolean |
getAllowsChildren() |
IJcrTreeNode |
getChild(String name)
Resolve the child that corresponds to a particular name.
|
TreeNode |
getChildAt(int i) |
int |
getChildCount() |
int |
getIndex(TreeNode node) |
TreeNode |
getParent() |
int |
hashCode() |
boolean |
isLeaf() |
protected List<IJcrTreeNode> |
loadChildren() |
String |
toString() |
getChainedModel, getNode, getNodeModel, getObject, setChainedModel, setObject
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getNodeModel
public JcrTreeNode(org.apache.wicket.model.IModel<javax.jcr.Node> nodeModel, IJcrTreeNode parent)
public JcrTreeNode(org.apache.wicket.model.IModel<javax.jcr.Node> nodeModel, IJcrTreeNode parent, Comparator<IJcrTreeNode> comparator)
public IJcrTreeNode getChild(String name) throws javax.jcr.RepositoryException
getChild
in interface IJcrTreeNode
name
- javax.jcr.RepositoryException
public Enumeration<? extends TreeNode> children()
public TreeNode getChildAt(int i)
getChildAt
in interface TreeNode
public int getChildCount()
getChildCount
in interface TreeNode
public boolean getAllowsChildren()
getAllowsChildren
in interface TreeNode
public void detach()
detach
in interface org.apache.wicket.model.IDetachable
detach
in class NodeModelWrapper<JcrTreeNode>
protected List<IJcrTreeNode> loadChildren() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
Copyright © 2007–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.