true if the CategoryExplorer model specified at construction
is accepting the category of the specified LogRecord. Has a side-effect
of adding the CategoryPath of the LogRecord to the explorer model
if the CategoryPath is new.
CategoryPath path = new CategoryPath(record.getCategory());
return _model.isCategoryPathActive(path);
public void
reset()
Resets the counters for the contained CategoryNodes to zero.
resetAllNodes();
protected void
resetAllNodes()
Enumeration nodes = _model.getRootCategoryNode().depthFirstEnumeration();
CategoryNode current;
while (nodes.hasMoreElements()) {
current = (CategoryNode) nodes.nextElement();
current.resetNumberOfContainedRecords();
_model.nodeChanged(current);
}