public function addRenderer(SwatCellRenderer $renderer)
    {
        $this->renderers[] = $renderer;

        $renderer_key = spl_object_hash($renderer);
        $this->mappings[$renderer_key] = array();

        if ($renderer->id !== null) {
            $this->renderers_by_id[$renderer->id] = $renderer;
        }
    }