public function setPaletteClassName($paletteClassName)
    {
        $event = new SetPaletteClassNameEvent($paletteClassName, $this);
        $this->dispatchEvent($event);
        $paletteClassName = $event->getPaletteClassName();

        $this->paletteClassName = (string) $paletteClassName;
        $this->paletteClass     = new \ReflectionClass($this->paletteClassName);
        return $this;
    }