/** * */ public function makeTLabel($properties) { $widget = new TLabel((string) $properties->{'name'}); $widget->setValue((string) $properties->{'value'}); $widget->setFontColor((string) $properties->{'color'}); $widget->setFontSize((string) $properties->{'size'}); $widget->setFontStyle((string) $properties->{'style'}); $this->fieldsByName[(string) $properties->{'name'}] = $widget; return $widget; }