Class Control
Control class, use this to compose existing Elements. You can also add
Controls that already exist to attach Elements or to extend functionality.
-
ManiaLib\Gui\Component
-
ManiaLive\Gui\Container
-
ManiaLive\Gui\Control
implements
ManiaLib\Gui\Drawable,
ManiaLive\Gui\Containable
Methods summary
public
|
|
public
|
|
public
|
|
public
ManiaLib\Gui\Layouts\AbstractLayout
|
#
getLayout( )
Get current Layout from Control.
Get current Layout from Control.
Returns
|
public
|
|
public
|
|
public
|
|
final public
|
#
redraw( )
Force a redraw of this component on the screens it is currently showed.
Force a redraw of this component on the screens it is currently showed.
|
final public
|
#
save( )
Renders the Control and all its Subelements/Subcontrols. Sets all Z-Indexes
accordingly to the order of the items.
Renders the Control and all its Subelements/Subcontrols. Sets all Z-Indexes
accordingly to the order of the items.
Implementation of
|
public
|
#
destroy( )
Removes all references to other objects. Recursively removes all connected
resources.
Removes all references to other objects. Recursively removes all connected
resources.
|
public
|
|
Methods inherited from ManiaLib\Gui\Component
getBorderBottom(),
getBorderLeft(),
getBorderRight(),
getBorderTop(),
getHalign(),
getId(),
getParentFrame(),
getParentLayout(),
getParentNode(),
getPosX(),
getPosY(),
getPosZ(),
getRealSizeX(),
getRealSizeY(),
getRelativeHalign(),
getRelativeValign(),
getScale(),
getScriptEvents(),
getSizeX(),
getSizeY(),
getValign(),
incPosX(),
incPosY(),
incPosZ(),
isVisible(),
onAlign(),
onMove(),
onResize(),
onScale(),
setAlign(),
setHalign(),
setId(),
setParentFrame(),
setParentLayout(),
setParentNode(),
setPosX(),
setPosY(),
setPosZ(),
setPosition(),
setPositionX(),
setPositionY(),
setPositionZ(),
setRelativeAlign(),
setRelativeHalign(),
setRelativeValign(),
setScale(),
setScriptEvents(),
setSize(),
setSizeX(),
setSizeY(),
setValign(),
setVisibility()
|
Properties summary
protected
mixed
|
$layout
|
null |
|
Properties inherited from ManiaLib\Gui\Component
$halign,
$id,
$parentFrame,
$parentLayout,
$parentNode,
$posX,
$posY,
$posZ,
$relativeHalign,
$relativeValign,
$scale,
$scriptEvents,
$sizeX,
$sizeY,
$valign,
$visible
|