public class ResourceTreeProvider extends Object implements org.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider<TreeResource>
Constructor and Description |
---|
ResourceTreeProvider(List<TreeResource> roots) |
Modifier and Type | Method and Description |
---|---|
void |
detach() |
Iterator<TreeResource> |
getChildren(TreeResource resource) |
Iterator<TreeResource> |
getRoots() |
boolean |
hasChildren(TreeResource resource) |
org.apache.wicket.model.IModel<TreeResource> |
model(TreeResource resource) |
public ResourceTreeProvider(List<TreeResource> roots)
public void detach()
detach
in interface org.apache.wicket.model.IDetachable
public Iterator<TreeResource> getRoots()
getRoots
in interface org.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider<TreeResource>
public boolean hasChildren(TreeResource resource)
hasChildren
in interface org.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider<TreeResource>
public Iterator<TreeResource> getChildren(TreeResource resource)
getChildren
in interface org.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider<TreeResource>
public org.apache.wicket.model.IModel<TreeResource> model(TreeResource resource)
model
in interface org.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider<TreeResource>
Copyright © 2017. All rights reserved.