|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
HierarchyFilter
instead.
public interface DimensionFilter
A DimensionFilter
is used to decide which Element
s
of a base Dimension
are visible in its associated virtual
dimension.
Method Summary | |
---|---|
boolean |
acceptElement(Element element)
Deprecated. Return true if the given Element passes
the filter, otherwise return false . |
void |
init(Dimension dimension)
Deprecated. Inits the filter and passes a reference to the virtual dimension owning the filter. |
boolean |
isFlat()
Deprecated. Turns this dimension into a flat dimension loosing and hierarchies and consolidations. |
ElementNode[] |
postprocessRootNodes(ElementNode[] rootNodes)
Deprecated. If and only if the dimension is flat, this method can be used to post-process the root element nodes. |
Method Detail |
---|
void init(Dimension dimension)
dimension
- the owning virtual dimension of the filter.boolean acceptElement(Element element)
true
if the given Element
passes
the filter, otherwise return false
.
element
- the Element
that is being filtered.
true
to pass, false
to filter out.boolean isFlat()
true
if the dimension is flat.ElementNode[] postprocessRootNodes(ElementNode[] rootNodes)
rootNodes
- the original root nodes.
null
if the
original root nodes should be used.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |