protected function setupRenderers($data)
    {
        if (count($this->renderers) === 0) {
            throw new SwatException(
                'No renderer has been provided for this column.'
            );
        }

        $sensitive = $this->view->isSensitive();

        // Set the properties of the renderers to the value of the data field.
        foreach ($this->renderers as $renderer) {
            $this->renderers->applyMappingsToRenderer($renderer, $data);
            $renderer->sensitive = $renderer->sensitive && $sensitive;
        }
    }