Maven module :un.api : api-common :
Class : un.api.model.tree.ViewNode
Extends/Implements : un.api.model.tree.AbstractNode
Subclasses : -

author  Johann Sorel


Variables : -
Functions : ViewNode, ViewNode, setCacheChildren, isCacheChildren, clearCache, canHaveChildren, getSubNode, getPredicate, children, getChildren, getEventClasses, toChars, equals, unWrap



public void ViewNode (Node subNode, Predicate predicate)

public void ViewNode (Node subNode, Predicate predicate, Sorter sorter)


Indicate to cache or not children list after the first time it is requested.
param  cacheChildren true to cache filtered childrens
public void setCacheChildren (boolean cacheChildren)

public boolean isCacheChildren ()

public void clearCache ()

public boolean canHaveChildren ()

public Node getSubNode ()

public Predicate getPredicate ()

public Sequence children ()

public Node[] getChildren ()

public Class[] getEventClasses ()

public Chars toChars ()

public boolean equals (Object obj)


Remove all views from the original node.
param  node node to unwwrap
return  base wrapped node
public Node unWrap (Node node)