PHP Interface Gui\Components\VisualObjectInterface

Since: 0.1
Author: Rodrigo Azevedo @rodrigowbazeved
ファイルを表示 Open project: gabrielrcouto/php-gui

Public Methods

Method Description
getAutoSize ( ) : boolean Get the auto size
getBackgroundColor ( ) : String Get the background color
getBottom ( ) : integer Gets the value of bottom in pixel.
getHeight ( ) : integer Gets the value of height in pixel.
getLeft ( ) : integer Gets the value of left in pixel.
getRight ( ) : integer Gets the value of right in pixel.
getTop ( ) : integer Gets the value of top in pixel.
getVisible ( ) : boolean Gets the value of visible in pixel.
getWidth ( ) : integer Gets the value of width in pixel.
setAutoSize ( boolean $autoSize ) : self Set the auto size
setBackgroundColor ( string $color ) : self Set the background Color
setBottom ( integer $bottom ) : self Sets the value of bottom in pixel.
setHeight ( integer $height ) : self Sets the value of height in pixel.
setLeft ( integer $left ) : self Sets the value of left in pixel.
setRight ( integer $right ) : self Sets the value of right in pixel.
setTop ( integer $top ) : self Sets the value of top in pixel.
setVisible ( boolean $visible ) : self Sets the value of visible in pixel.
setWidth ( integer $width ) : self Sets the value of width in pixel.

Method Details

getAutoSize() public method

Get the auto size
public getAutoSize ( ) : boolean
return boolean

getBackgroundColor() public method

Get the background color
public getBackgroundColor ( ) : String
return String

getBottom() public method

Gets the value of bottom in pixel.
public getBottom ( ) : integer
return integer

getHeight() public method

Gets the value of height in pixel.
public getHeight ( ) : integer
return integer

getLeft() public method

Gets the value of left in pixel.
public getLeft ( ) : integer
return integer

getRight() public method

Gets the value of right in pixel.
public getRight ( ) : integer
return integer

getTop() public method

Gets the value of top in pixel.
public getTop ( ) : integer
return integer

getVisible() public method

Gets the value of visible in pixel.
public getVisible ( ) : boolean
return boolean

getWidth() public method

Gets the value of width in pixel.
public getWidth ( ) : integer
return integer

setAutoSize() public method

Set the auto size
public setAutoSize ( boolean $autoSize ) : self
$autoSize boolean True = Enabled
return self

setBackgroundColor() public method

Set the background Color
public setBackgroundColor ( string $color ) : self
$color string Color '#123456'
return self

setBottom() public method

Sets the value of bottom in pixel.
public setBottom ( integer $bottom ) : self
$bottom integer the bottom
return self

setHeight() public method

Sets the value of height in pixel.
public setHeight ( integer $height ) : self
$height integer the height
return self

setLeft() public method

Sets the value of left in pixel.
public setLeft ( integer $left ) : self
$left integer the left
return self

setRight() public method

Sets the value of right in pixel.
public setRight ( integer $right ) : self
$right integer the right
return self

setTop() public method

Sets the value of top in pixel.
public setTop ( integer $top ) : self
$top integer the top
return self

setVisible() public method

Sets the value of visible in pixel.
public setVisible ( boolean $visible ) : self
$visible boolean the visible
return self

setWidth() public method

Sets the value of width in pixel.
public setWidth ( integer $width ) : self
$width integer the width
return self