|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TreeModel
A tree view manage a tree structure of items. The tree data is lazy loaded by using the data provider specified at tree view creation.
Method Summary | |
---|---|
TreeItem |
find(Path path)
Like 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 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. |
void |
setContentProvider(ContentProvider provider)
Sets the content provider to be used by this tree. |
void |
setInput(Object input)
Sets the input data. |
Method Detail |
---|
ContentProvider getContentProvider()
void setContentProvider(ContentProvider provider)
void setInput(Object input)
input
- (may be null)Object getInput()
TreeItem getRoot()
TreeItem find(String path)
path
- the path to search
TreeItem findAndReveal(String path)
path
- the path to search
TreeItem find(Path path)
find(Path)
but the path is expressed as a Path
object.
find(String)
TreeItem findAndReveal(Path path)
findAndReveal(Path)
but the path is expressed as a Path
object.
findAndReveal(String)
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |