|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.webengine.ui.tree.TreeModelImpl
public class TreeModelImpl
Constructor Summary | |
---|---|
TreeModelImpl()
|
|
TreeModelImpl(ContentProvider provider)
|
Method Summary | |
---|---|
TreeItem |
find(Path path)
Like TreeModel.find(Path) but the path is expressed as a Path object. |
TreeItem |
find(String path)
Find the item at the given path. |
TreeItem |
findAndReveal(Path path)
Like TreeModel.findAndReveal(Path) but the path is expressed as a Path object. |
TreeItem |
findAndReveal(String path)
Find and item given it's path and expand parents if needed. |
ContentProvider |
getContentProvider()
Gets the content provider used by this tree. |
Object |
getInput()
Gets the current input of the tree. |
TreeItem |
getRoot()
Get the tree root item, or null if tree has no input. |
boolean |
hasInput()
|
void |
setContentProvider(ContentProvider provider)
Sets the content provider to be used by this tree. |
void |
setInput(Object input)
Sets the input data. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TreeModelImpl()
public TreeModelImpl(ContentProvider provider)
Method Detail |
---|
public ContentProvider getContentProvider()
TreeModel
getContentProvider
in interface TreeModel
public void setContentProvider(ContentProvider provider)
TreeModel
setContentProvider
in interface TreeModel
public void setInput(Object input)
TreeModel
setInput
in interface TreeModel
input
- (may be null)public TreeItem getRoot()
TreeModel
getRoot
in interface TreeModel
public TreeItem findAndReveal(String path)
TreeModel
findAndReveal
in interface TreeModel
path
- the path to search
public TreeItem find(String path)
TreeModel
find
in interface TreeModel
path
- the path to search
public TreeItem findAndReveal(Path path)
TreeModel
TreeModel.findAndReveal(Path)
but the path is expressed as a Path
object.
findAndReveal
in interface TreeModel
TreeModel.findAndReveal(String)
public TreeItem find(Path path)
TreeModel
TreeModel.find(Path)
but the path is expressed as a Path
object.
find
in interface TreeModel
TreeModel.find(String)
public Object getInput()
TreeModel
getInput
in interface TreeModel
public boolean hasInput()
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |