void (NodeRenderer renderer) { if (renderer instanceof CompoundReferenceRenderer) { myRenderer = (CompoundReferenceRenderer)renderer; myOriginalRenderer = (CompoundReferenceRenderer)renderer.clone(); } else { myRenderer = myOriginalRenderer = null; } reset(); }