public class FilterableListTreeContentProvider extends LazyNodeTreeContentProvider
parentId
value-binding, or by childIds
value-binding.LazyNodeTreeContentProvider.BreadthFirstTreeWalker, LazyNodeTreeContentProvider.DepthFirstTreeWalker, LazyNodeTreeContentProvider.NodeComparator, LazyNodeTreeContentProvider.NodeFilterableValueDecorator, LazyNodeTreeContentProvider.NodeIdsIterator, LazyNodeTreeContentProvider.ReverseDepthFirstTreeWalker
Modifier and Type | Field and Description |
---|---|
protected ValueExpression |
m_childIds
Value binding used to calculate child ids for the current row.
|
protected List<Object> |
m_list
Original list of rows.
|
protected ValueExpression |
m_parentId
Value binding used to calculate the parent id for the current row.
|
protected ValueExpression |
m_rowId
Value binding used to calculate row id for the current row.
|
m_count, m_current, m_filter, m_filterable, m_filteredChildren, m_filterValue, m_index, m_nodes, m_roots, m_selectableHelper, m_sort, m_sortedChildren, m_treeHelper, m_var, NO_SORT
fExpireWithPageFlow
Constructor and Description |
---|
FilterableListTreeContentProvider() |
FilterableListTreeContentProvider(List<?> list) |
FilterableListTreeContentProvider(List<?> list,
String rowVariable,
String rowIdBinding,
String parentIdBinding,
String childIdsBinding) |
FilterableListTreeContentProvider(List<?> list,
String rowVariable,
String rowIdBinding,
String parentIdBinding,
String childIdsBinding,
String rowFilterValueBinding) |
findNodeById, getChildIds, getChildren, getCurrent, getCurrentRow, getDepth, getFilter, getHasChildren, getLastChildAncestors, getNeedRefresh, getOpenIds, getParentId, getPropertyKeys, getRootIds, getRoots, getRowCount, getRowFilterValueBinding, getRowFilterValueExpression, getRowId, getRowIndex, getRowSelectedCount, getRowSelectedIds, getRowUnselectedIds, getRowVariable, getSiblings, getSort, getType, getUnopenIds, getUseUnopenModel, getUseUnselectedModel, getValue, hasProperty, isAddressable, isAutoRefresh, isFilterable, isFirstChild, isLastChild, isOpen, isReadOnly, isRowAvailable, isRowMixed, isRowSelected, isVisible, openTreeNodes, refresh, setAutoRefresh, setCurrent, setFilter, setFilterable, setNeedRefresh, setOpen, setOpenIds, setOpenToDepth, setRoots, setRowById, setRowFilterValueBinding, setRowFilterValueBindingAsString, setRowFilterValueExpression, setRowFilterValueExpressionAsString, setRowIndex, setRowSelected, setRowSelectedIds, setRowUnselectedIds, setSort, setUnopenIds, setValue, supportsAutoRefresh, toString
getExpireWithPageFlow, setExpireWithPageFlow
protected ValueExpression m_parentId
protected ValueExpression m_childIds
protected ValueExpression m_rowId
public FilterableListTreeContentProvider()
public FilterableListTreeContentProvider(List<?> list)
public FilterableListTreeContentProvider(List<?> list, String rowVariable, String rowIdBinding, String parentIdBinding, String childIdsBinding)
public void setRowVariable(String var)
ITableContentProvider
Sets row variable name to use for accessing row specific data. For
example, if the provider wrapps an array of a data objects with
id
property and the variable name is item
, then
the provider implementation can access id
property of each
record as item.id
.
This property should set only once at the provider initialization time
setRowVariable
in interface ITableContentProvider
setRowVariable
in class LazyNodeTreeContentProvider
public List<?> getList()
public void setList(List<?> list)
@Deprecated public ValueBinding getRowIdBinding()
getRowIdExpression()
instead@Deprecated public void setRowIdBinding(ValueBinding binding)
setRowIdExpression(ValueExpression)
insteadbinding
- public ValueExpression getRowIdExpression()
public void setRowIdExpression(ValueExpression binding)
binding
- @Deprecated public ValueBinding getParentIdBinding()
getParentIdExpression()
instead@Deprecated public void setParentIdBinding(ValueBinding parentId)
setParentIdExpression(ValueExpression)
insteadparentId
- public ValueExpression getParentIdExpression()
public void setParentIdExpression(ValueExpression parentId)
parentId
- @Deprecated public ValueBinding getChildIdsBinding()
getChildIdsExpression()
instead@Deprecated public void setChildIdsBinding(ValueBinding childIds)
setChildIdsExpression(ValueExpression)
insteadchildIds
- public ValueExpression getChildIdsExpression()
public void setChildIdsExpression(ValueExpression childIds)
childIds
-