function setProps (array $props = null)
  {
    if ($this->supportsProperties ()) {
      if ($props)
        $this->props->apply ($props);
    }
    else if ($props)
      throw new ComponentException($this, 'This component does not support properties.');
  }