Package | Description |
---|---|
org.nuxeo.apidoc.tree | |
org.nuxeo.ecm.webengine.ui.tree | |
org.nuxeo.ecm.webengine.ui.tree.document |
Modifier and Type | Method and Description |
---|---|
String |
NuxeoArtifactSerializer.getUrl(TreeItem item) |
protected net.sf.json.JSONObject |
NuxeoArtifactSerializer.item2JSON(TreeItem item,
net.sf.json.JSONArray children) |
Modifier and Type | Class and Description |
---|---|
class |
TreeItemImpl |
Modifier and Type | Field and Description |
---|---|
protected TreeItem[] |
TreeItemImpl.children |
static TreeItem[] |
TreeItemImpl.EMPTY_CHILDREN |
static TreeItem[] |
TreeItemImpl.HAS_CHILDREN |
protected TreeItem |
TreeItemImpl.parent |
protected TreeItem |
TreeModelImpl.root |
Modifier and Type | Method and Description |
---|---|
protected TreeItem |
TreeItemImpl._getChild(String name) |
TreeItem[] |
TreeItemImpl.expand() |
TreeItem[] |
TreeItem.expand()
Expands the item.
|
TreeItem |
TreeModelImpl.find(Path path) |
TreeItem |
TreeModel.find(Path path)
Like
TreeModel.find(Path) but the path is expressed as a Path object. |
TreeItem |
TreeItemImpl.find(Path path) |
TreeItem |
TreeItem.find(Path path)
Finds the item given its relative path to that item.
|
TreeItem |
TreeModelImpl.find(String path) |
TreeItem |
TreeModel.find(String path)
Find the item at the given path.
|
TreeItem |
TreeModelImpl.findAndReveal(Path path) |
TreeItem |
TreeModel.findAndReveal(Path path)
Like
TreeModel.findAndReveal(Path) but the path is expressed as a Path object. |
TreeItem |
TreeItemImpl.findAndReveal(Path path) |
TreeItem |
TreeItem.findAndReveal(Path path)
Finds the item given its relative path to that item and expand all its parents so that the item will be visible
in the tree.
|
TreeItem |
TreeModelImpl.findAndReveal(String path) |
TreeItem |
TreeModel.findAndReveal(String path)
Find and item given it's path and expand parents if needed.
|
TreeItem |
TreeItemImpl.getChild(String name) |
TreeItem |
TreeItem.getChild(String name)
Gets the child item given its name.
|
TreeItem[] |
TreeItemImpl.getChildren() |
TreeItem[] |
TreeItem.getChildren()
Gets the cached children.
|
TreeItem |
TreeItemImpl.getParent() |
TreeItem |
TreeItem.getParent()
Gets the parent item or null if this is the root item.
|
TreeItem |
TreeModelImpl.getRoot() |
TreeItem |
TreeModel.getRoot()
Get the tree root item, or null if tree has no input.
|
Modifier and Type | Method and Description |
---|---|
String |
JSonTreeSerializer.getUrl(TreeItem item)
Must be overridden to provide real URLs
|
protected net.sf.json.JSONObject |
JSonTreeSerializer.item2JSON(TreeItem item,
net.sf.json.JSONArray children)
You may override this method to change the output JSON.
|
net.sf.json.JSONObject |
JSonTreeSerializer.toJSON(TreeItem root) |
net.sf.json.JSONArray |
JSonTreeSerializer.toJSON(TreeItem[] items) |
Object |
TreeItemVisitor.visit(TreeItem item)
Visit a tree item.
|
Object |
JSonTreeSerializer.visit(TreeItem item) |
Modifier and Type | Method and Description |
---|---|
net.sf.json.JSONArray |
JSonTreeSerializer.toJSON(Collection<TreeItem> items) |
Constructor and Description |
---|
TreeItemImpl(TreeItem parent,
ContentProvider provider,
Object data) |
TreeItemImpl(TreeItem parent,
Object data) |
Modifier and Type | Method and Description |
---|---|
String |
JSonDocumentTreeSerializer.getUrl(TreeItem item) |
Copyright © 2017 Nuxeo. All rights reserved.