id = $id; return $this; } /** * Constructor. */ public function __construct() { $this->pagewidgets = new \Doctrine\Common\Collections\ArrayCollection(); } /** * Get id. * * @return int */ public function getId() { return $this->id; } /** * Set roworder. * * @param int $roworder * * @return Widget */ public function setRoworder($roworder) { $this->roworder = $roworder; return $this; } /** * Get roworder. * * @return int */ public function getRoworder() { return $this->roworder; } /** * Set name. * * @param string $name * * @return Widget */ public function setName($name) { $this->name = $name; return $this; } /** * Get name. * * @return string */ public function getName() { return $this->name; } /** * Set description. * * @param string $description * * @return Widget */ public function setDescription($description) { $this->description = $description; return $this; } /** * Get description. * * @return string */ public function getDescription() { return $this->description; } /** * Set routeview. * * @param string $routeview * * @return Widget */ public function setRouteview($routeview) { $this->routeview = $routeview; return $this; } /** * Get routeview. * * @return string */ public function getRouteview() { return $this->routeview; } /** * Set height. * * @param int $height * * @return Widget */ public function setHeight($height) { $this->height = $height; return $this; } /** * Get height. * * @return int */ public function getHeight() { return $this->height; } /** * Set autoajust. * * @param bool $autoajust * * @return Widget */ public function setAutoajust($autoajust) { $this->autoajust = $autoajust; return $this; } /** * Get autoajust. * * @return bool */ public function getAutoajust() { return $this->autoajust; } /** * Set border. * * @param bool $border * * @return Widget */ public function setBorder($border) { $this->border = $border; return $this; } /** * Get border. * * @return bool */ public function getBorder() { return $this->border; } /** * Set opened. * * @param bool $opened * * @return Widget */ public function setOpened($opened) { $this->opened = $opened; return $this; } /** * Get opened. * * @return bool */ public function getOpened() { return $this->opened; } /** * Set colorheaderback. * * @param string $colorheaderback * * @return Widget */ public function setColorheaderback($colorheaderback) { $this->colorheaderback = $colorheaderback; return $this; } /** * Get colorheaderback. * * @return string */ public function getColorheaderback() { return $this->colorheaderback; } /** * Set colorheaderfont. * * @param string $colorheaderfont * * @return Widget */ public function setColorheaderfont($colorheaderfont) { $this->colorheaderfont = $colorheaderfont; return $this; } /** * Get colorheaderfont. * * @return string */ public function getColorheaderfont() { return $this->colorheaderfont; } /** * Set colorbodyback. * * @param string $colorbodyback * * @return Widget */ public function setColorbodyback($colorbodyback) { $this->colorbodyback = $colorbodyback; return $this; } /** * Get colorbodyback. * * @return string */ public function getColorbodyback() { return $this->colorbodyback; } /** * Set colorbodyfont. * * @param string $colorbodyfont * * @return Widget */ public function setColorbodyfont($colorbodyfont) { $this->colorbodyfont = $colorbodyfont; return $this; } /** * Get colorbodyfont. * * @return string */ public function getColorbodyfont() { return $this->colorbodyfont; } /** * Set access. * * @param string $access * * @return Widget */ public function setAccess($access) { $this->access = $access; return $this; } /** * Get access. * * @return string */ public function getAccess() { return $this->access; } /** * Set parameter. * * @param array $parameter * * @return Widget */ public function setParameter($parameter) { $this->parameter = $parameter; return $this; } /** * Get parameter. * * @return array */ public function getParameter() { return $this->parameter; } /** * Set icon. * * @param Icon $icon * * @return Widget */ public function setIcon(Icon $icon = null) { $this->icon = $icon; return $this; } /** * Get icon. * * @return Icon */ public function getIcon() { return $this->icon; } /** * Add pagewidget. * * @return Widget */ public function addPagewidget(Pagewidget $pagewidget) { $this->pagewidgets[] = $pagewidget; return $this; } /** * Remove pagewidget. */ public function removePagewidget(Pagewidget $pagewidget) { $this->pagewidgets->removeElement($pagewidget); } /** * Get pagewidgets. * * @return \Doctrine\Common\Collections\Collection */ public function getPagewidgets() { return $this->pagewidgets; } public function isAutoajust(): ?bool { return $this->autoajust; } public function isBorder(): ?bool { return $this->border; } public function isOpened(): ?bool { return $this->opened; } }