PHP Class Gui\Components\Label

It is a visual component for label
Since: 0.1
Author: Gabriel Couto @gabrielrcouto
Inheritance: extends VisualObject
Afficher le fichier Open project: gabrielrcouto/php-gui

Protected Properties

Свойство Type Description
$lazarusClass string The lazarus class as string

Méthodes publiques

Méthode Description
getFontColor ( ) : String Get the font color
getFontFamily ( ) : String Get the font family
getFontSize ( ) : float Get the font size
getText ( ) : mixed Get the Label text
setFontColor ( string $color ) : self Set the font Color
setFontFamily ( string $family ) : self Set the font Family
setFontSize ( float $size ) : self Set the font size for label
setText ( string $value ) : self Set the Label text

Method Details

getFontColor() public méthode

Get the font color
public getFontColor ( ) : String
Résultat String

getFontFamily() public méthode

Get the font family
public getFontFamily ( ) : String
Résultat String

getFontSize() public méthode

Get the font size
public getFontSize ( ) : float
Résultat float

getText() public méthode

Get the Label text
public getText ( ) : mixed
Résultat mixed

setFontColor() public méthode

Set the font Color
public setFontColor ( string $color ) : self
$color string Color '#123456'
Résultat self

setFontFamily() public méthode

Set the font Family
public setFontFamily ( string $family ) : self
$family string Family name (ex: Arial)
Résultat self

setFontSize() public méthode

Set the font size for label
public setFontSize ( float $size ) : self
$size float
Résultat self

setText() public méthode

Set the Label text
public setText ( string $value ) : self
$value string
Résultat self

Property Details

$lazarusClass protected_oe property

The lazarus class as string
protected string $lazarusClass
Résultat string