/**
  * Set the Control
  *
  * @api
  * @param Control $control Control
  * @return static
  */
 public function setControl(Control $control)
 {
     $control->checkId();
     $this->control = $control;
     $this->updateScriptEvents();
     return $this;
 }
Beispiel #2
0
 /**
  * Set the Control
  *
  * @api
  * @param Control $control Map Info Control
  * @return static
  */
 public function setControl(Control $control)
 {
     $control->checkId();
     if ($control instanceof Scriptable) {
         $control->setScriptEvents(true);
     }
     $this->control = $control;
     return $this;
 }
 /**
  * Set the Page Control
  *
  * @api
  * @param Control $control Page Control
  * @return static
  */
 public function setControl(Control $control)
 {
     $control->checkId();
     $this->control = $control;
     return $this;
 }
Beispiel #4
0
 /**
  * Set the Tooltip Control
  *
  * @api
  * @param Control $tooltipControl Tooltip Control
  * @return static
  */
 public function setTooltipControl(Control $tooltipControl)
 {
     $tooltipControl->checkId();
     $tooltipControl->setVisible(false);
     $this->tooltipControl = $tooltipControl;
     return $this;
 }