PHP 클래스 Gui\Components\Label

It is a visual component for label
부터: 0.1
저자: Gabriel Couto @gabrielrcouto
상속: extends VisualObject
파일 보기 프로젝트 열기: gabrielrcouto/php-gui

보호된 프로퍼티들

프로퍼티 타입 설명
$lazarusClass string The lazarus class as string

공개 메소드들

메소드 설명
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

메소드 상세

getFontColor() 공개 메소드

Get the font color
public getFontColor ( ) : String
리턴 String

getFontFamily() 공개 메소드

Get the font family
public getFontFamily ( ) : String
리턴 String

getFontSize() 공개 메소드

Get the font size
public getFontSize ( ) : float
리턴 float

getText() 공개 메소드

Get the Label text
public getText ( ) : mixed
리턴 mixed

setFontColor() 공개 메소드

Set the font Color
public setFontColor ( string $color ) : self
$color string Color '#123456'
리턴 self

setFontFamily() 공개 메소드

Set the font Family
public setFontFamily ( string $family ) : self
$family string Family name (ex: Arial)
리턴 self

setFontSize() 공개 메소드

Set the font size for label
public setFontSize ( float $size ) : self
$size float
리턴 self

setText() 공개 메소드

Set the Label text
public setText ( string $value ) : self
$value string
리턴 self

프로퍼티 상세

$lazarusClass 보호되어 있는 프로퍼티

The lazarus class as string
protected string $lazarusClass
리턴 string