Font plainFont, completedFont;
TaskCompletionRenderer(JFilterableTreeComponent selector,
DashboardContext ctx) {
this.calc = new HierarchicalCompletionStatusCalculator(
ctx.getData(), ctx.getHierarchy(), PropertyKey.ROOT);
this.plainFont = selector.getTreeTable().getTree().getFont();
this.completedFont = plainFont.deriveFont(Collections.singletonMap(
TextAttribute.STRIKETHROUGH, TextAttribute.STRIKETHROUGH_ON));