Package | Description |
---|---|
com.escenic.common.util.tree |
Modifier and Type | Class and Description |
---|---|
class |
AbstractView<N> |
class |
AggregateView<T> |
class |
AncestorView<N>
This is a
View that contains only the ancestors of a given
item. |
class |
RecursiveView<N>
This is a
View that contains only descendants of a spesific
item. |
class |
SiblingView<N>
Creates a
View that only contains siblings of a given node. |
class |
SimpleView<N>
This is a
View that contains only one item. |
Modifier and Type | Field and Description |
---|---|
protected View<T> |
AggregateView.mainView |
protected View<T> |
AggregateView.subView |
Modifier and Type | Method and Description |
---|---|
View<N> |
View.exclude(View<N> pView)
Return a new view which contains all the items in this view minus any items
in the specified view.
|
View<N> |
AbstractView.exclude(View<N> view) |
View<N> |
Tree.getAncestorView(N o)
Return a
View that includes the specified domain object, and its parent, and that parent's parent, and so on up to the root object. |
View<N> |
AbstractTree.getAncestorView(N o) |
View<N> |
AbstractTree.getAncestorView(N o,
boolean pIncludeRoot) |
View<N> |
AbstractTree.getAncestorView(N o,
int pHeight) |
View<N> |
AbstractTree.getAncestorView(N o,
int pHeight,
boolean pIncludeRoot) |
View<N> |
Tree.getRecursiveView()
Returns a
View object that includes the whole tree. |
View<N> |
AbstractTree.getRecursiveView() |
View<N> |
Tree.getRecursiveView(boolean includeRoot)
Return a
View object that includes the whole tree, optionally excluding the root element |
View<N> |
AbstractTree.getRecursiveView(boolean includeRoot) |
View<N> |
Tree.getRecursiveView(int depth)
Return a
View that includes the whole tree, clipped at a specific depth. |
View<N> |
AbstractTree.getRecursiveView(int depth) |
View<N> |
Tree.getRecursiveView(int depth,
boolean includeRoot)
Return a
View that includes the whole tree, clipped at a specific depth, optionally
excluding the root object. |
View<N> |
AbstractTree.getRecursiveView(int depth,
boolean includeRoot) |
View<N> |
Tree.getRecursiveView(N o)
Return a
View that includes the specified domain object,
and all of that objects children. |
View<N> |
AbstractTree.getRecursiveView(N o) |
View<N> |
Tree.getRecursiveView(N o,
boolean includeRoot)
Return a
View that optionally includes the specified domain object,
and all of that objects children. |
View<N> |
AbstractTree.getRecursiveView(N o,
boolean includeRoot) |
View<N> |
Tree.getRecursiveView(N o,
int depth)
Return a
View that includes the specified domain object,
and all of that objects children, down to a specific level. |
View<N> |
AbstractTree.getRecursiveView(N o,
int depth) |
View<N> |
Tree.getRecursiveView(N o,
int depth,
boolean includeRoot)
Return a
View that optionally includes the specified domain object,
and all of that objects children, down to a specific level. |
View<N> |
AbstractTree.getRecursiveView(N o,
int depth,
boolean includeRoot) |
View<N> |
Tree.getView(N o)
Return a
View that includes the specified object, and no other objects. |
View<N> |
AbstractTree.getView(N o) |
View<N> |
View.include(View<N> pView)
Return a new view which contains all the items in this view plus any items
in the specified view.
|
View<N> |
AbstractView.include(View<N> view) |
Modifier and Type | Method and Description |
---|---|
View<N> |
View.exclude(View<N> pView)
Return a new view which contains all the items in this view minus any items
in the specified view.
|
View<N> |
AbstractView.exclude(View<N> view) |
View<N> |
View.include(View<N> pView)
Return a new view which contains all the items in this view plus any items
in the specified view.
|
View<N> |
AbstractView.include(View<N> view) |
Walker<N> |
Tree.walker(View<N> view)
Return an iterator ("walker") that will go through the specified view
in natural order,
|
Walker<N> |
AbstractTree.walker(View<N> view) |
Constructor and Description |
---|
AggregateView(View<T> mainView,
View<T> subView,
boolean include) |
AggregateView(View<T> mainView,
View<T> subView,
boolean include) |
Relationships(N pBase,
N pCurrent,
Tree<N> pTree,
View<N> view)
Full constructor.
|
© 1998- 2018 Stibo DX