public class GlazedListTreeRowModel<T> extends Object implements ITreeRowModel<T>
Constructor and Description |
---|
GlazedListTreeRowModel(GlazedListTreeData<T> treeData) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
List<Integer> |
collapse(int index) |
int |
depth(int index) |
List<Integer> |
expand(int index) |
List<Integer> |
getChildIndexes(int parentIndex) |
String |
getObjectAtIndexAndDepth(int index,
int depth) |
boolean |
hasChildren(int index) |
boolean |
isCollapseable(int index) |
boolean |
isCollapsed(int index) |
boolean |
isLeaf(int index) |
void |
notifyListeners() |
void |
registerRowGroupModelListener(ITreeRowModelListener listener) |
public GlazedListTreeRowModel(GlazedListTreeData<T> treeData)
public void registerRowGroupModelListener(ITreeRowModelListener listener)
public void notifyListeners()
public int depth(int index)
depth
in interface ITreeRowModel<T>
public boolean isLeaf(int index)
isLeaf
in interface ITreeRowModel<T>
public String getObjectAtIndexAndDepth(int index, int depth)
getObjectAtIndexAndDepth
in interface ITreeRowModel<T>
public boolean hasChildren(int index)
hasChildren
in interface ITreeRowModel<T>
public boolean isCollapsed(int index)
isCollapsed
in interface ITreeRowModel<T>
public void clear()
public boolean isCollapseable(int index)
public List<Integer> collapse(int index)
collapse
in interface ITreeRowModel<T>
public List<Integer> expand(int index)
expand
in interface ITreeRowModel<T>
public List<Integer> getChildIndexes(int parentIndex)
getChildIndexes
in interface ITreeRowModel<T>
Copyright © 2013. All Rights Reserved.