Ejemplo n.º 1
0
 public function __construct()
 {
     parent::__construct();
 }
Ejemplo n.º 2
0
 public function __construct($anchor = null, $anchorSize = null)
 {
     parent::__construct();
     $this->setLayoutProperty("anchor", $anchor);
     $this->setLayoutProperty("anchorSize", $anchorSize);
 }
Ejemplo n.º 3
0
 public function __construct($colspan = null, $rowspan = null, $cellId = null, $cellCssClass = null)
 {
     parent::__construct();
     $this->setLayoutProperty("colspan", $colspan);
     $this->setLayoutProperty("rowspan", $rowspan);
     $this->setLayoutProperty("cellId", $cellId);
     $this->setLayoutProperty("cellCls", $cellCssClass);
 }
Ejemplo n.º 4
0
 public function __construct($region)
 {
     parent::__construct();
     $this->setRegion($region);
 }
Ejemplo n.º 5
0
 protected function getConfigParams($lazy = false)
 {
     if ($this->_plugins->getCount() == 0) {
         $this->setExtConfigProperty("plugins", null);
     }
     $params = parent::getConfigParams($lazy);
     if ($lazy && $this->_xType != null) {
         $params[] = $this->paramToString("xtype", $this->_xType);
     }
     if ($this->_layoutData !== null) {
         $layoutParams = $this->_layoutData->getConfigParams();
         $params = array_merge($params, $layoutParams);
     }
     return $params;
 }
Ejemplo n.º 6
0
 /**
  * The layout will use the width (if pixels) or columnWidth (if percent) of each panel during layout to determine how to size each panel. If width or columnWidth is not specified for a given panel, its width will default to the panel's width (or auto).
  *
  * The width property is always evaluated as pixels, and must be a number greater than or equal to 1. The columnWidth property is always evaluated as a percentage, and must be a decimal value greater than 0 and less than 1 (e.g., .25).
  * @param float|integer $columnWidth float for percentage and int for absolute
  */
 public function __construct($columnWidth)
 {
     parent::__construct();
     $this->setLayoutProperty("columnWidth", $columnWidth);
 }