20 package org.sleuthkit.autopsy.corecomponents;
22 import org.openide.nodes.Children;
23 import org.openide.nodes.Node;
29 final class TableFilterChildrenWithDescendants
extends TableFilterChildren {
31 private final int childLayerDepth;
40 private TableFilterChildrenWithDescendants(Node wrappedNode,
int childLayerDepth) {
42 this.childLayerDepth = childLayerDepth;
53 public static Children createInstance(Node wrappedNode,
int childLayerDepth){
54 if(childLayerDepth == 0){
57 return new TableFilterChildrenWithDescendants(wrappedNode, childLayerDepth - 1);
62 protected Node copyNode(Node nodeToCopy){
63 return new TableFilterNode(nodeToCopy, this.childLayerDepth);