public function setOnColorSelected($javascript) { $this->setFunction('OnColorSelected', $javascript); }