org.richfaces.model
Interface TreeRange

All Superinterfaces:
Range

public interface TreeRange
extends Range

Range implmentation variant for AbstractTreeDataModel

Author:
Nick Belaevski - nbelaevski@exadel.com created 23.11.2006

Field Summary
static TreeRange RANGE_UNCONSTRAINED
          Unconstrained variant of TreeRange.
 
Method Summary
 boolean processChildren(TreeRowKey rowKey)
          Returns true if children of the node with that rowKey should be processed
 boolean processNode(TreeRowKey rowKey)
          Returns true if node with that rowKey should be processed.
 

Field Detail

RANGE_UNCONSTRAINED

static final TreeRange RANGE_UNCONSTRAINED
Unconstrained variant of TreeRange. Is stateless and safe to use in multi-threaded environments.

Since:
3.2.2
Method Detail

processNode

boolean processNode(TreeRowKey rowKey)
Returns true if node with that rowKey should be processed. If false is returned, then skips processing child nodes also.

Parameters:
rowKey - TreeRowKey key instance
Returns:
true or false

processChildren

boolean processChildren(TreeRowKey rowKey)
Returns true if children of the node with that rowKey should be processed

Parameters:
rowKey - TreeRowKey key instance
Returns:
true or false


Copyright © 2010. All Rights Reserved.