Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.pivot.olap
Interface OlapFilter


public interface OlapFilter

OlapFilter is used to filter out nodes of an OlapTableModel model from the view.


Method Summary
 boolean accept(OlapTableModel model, Object parent, Object node)
          Determines whether to accept a node or to filter it out.
 boolean hasFilterDescendants(OlapTableModel model, Object node)
          Determines whether a node's descendants will be filtered.
 

Method Detail

accept

boolean accept(OlapTableModel model,
               Object parent,
               Object node)
Determines whether to accept a node or to filter it out.

Parameters:
model - the unfiltered olap table model
parent - the node's parent
node - the node to filter
Returns:
true, if the node is accepted, false otherwise

hasFilterDescendants

boolean hasFilterDescendants(OlapTableModel model,
                             Object node)
Determines whether a node's descendants will be filtered.

Parameters:
model - the unfiltered olap table model
node - the node to filter
Returns:
true, if the node's descendants are filtered, false otherwise

Copyright © 2011 Citra Technologies. All Rights Reserved.