Overview

Namespaces

  • DedicatedApi
    • Structures
    • Xmlrpc
  • ManiaLib
    • Gui
      • Cards
        • Dialogs
        • Navigation
      • Elements
      • Layouts
      • Maniacode
        • Elements
    • Utils
  • ManiaLive
    • Application
    • Config
    • Data
    • Database
      • MySQL
      • SQLite
    • DedicatedApi
      • Callback
    • Event
    • Features
      • Admin
      • ChatCommand
      • Tick
      • WebServices
    • Gui
      • Controls
      • Elements
      • Windows
    • PluginHandler
    • Threading
    • Utilities
  • ManiaLiveApplication
  • Maniaplanet
    • WebServices
      • ManiaConnect
      • ManiaHome
      • Rankings
  • PHP

Classes

  • AbstractLayout
  • Column
  • Flow
  • Line
  • Spacer
  • VerticalFlow
  • Overview
  • Namespace
  • Class
  • Tree

Class Column

Elements are added below their predecessor

ManiaLib\Gui\Component
Extended by ManiaLib\Gui\Layouts\AbstractLayout
Extended by ManiaLib\Gui\Layouts\Column
Namespace: ManiaLib\Gui\Layouts
Located at libraries/ManiaLib/Gui/Layouts/Column.php
Methods summary
public
# __construct( float $sizeX = 20, float $sizeY = 20, mixed $direction = ManiaLib\Gui\Layouts\Column::DIRECTION_DOWN )

Default constructor is used to set the size of the layout, just like \ManiaLib\Gui\Element

Default constructor is used to set the size of the layout, just like \ManiaLib\Gui\Element

Parameters

$sizeX
float
Layout's width
$sizeY
float
Layout's height
$direction

Overrides

ManiaLib\Gui\Layouts\AbstractLayout::__construct()
public
# setDirection( mixed $direction )
public
# preFilter( ManiaLib\Gui\Component $item )

Override this method to perform an action before rendering an item. Typical use: look for overflow

Override this method to perform an action before rendering an item. Typical use: look for overflow

Overrides

ManiaLib\Gui\Layouts\AbstractLayout::preFilter()
public
# postFilter( ManiaLib\Gui\Component $item )

Override this method to perform an action after rendering an an item. Typical use: update x,y,z indexes for the next item

Override this method to perform an action after rendering an an item. Typical use: update x,y,z indexes for the next item

Overrides

ManiaLib\Gui\Layouts\AbstractLayout::postFilter()
Methods inherited from ManiaLib\Gui\Layouts\AbstractLayout
getBorderHeight(), getBorderWidth(), getMarginHeight(), getMarginWidth(), setBorder(), setBorderHeight(), setBorderWidth(), setMargin(), setMarginHeight(), setMarginWidth(), updateComponent()
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()
Constants summary
integer DIRECTION_DOWN -1
#
integer DIRECTION_UP 1
#
Properties summary
protected mixed $direction
#
Properties inherited from ManiaLib\Gui\Layouts\AbstractLayout
$borderHeight, $borderWidth, $marginHeight, $marginWidth, $xIndex, $yIndex, $zIndex
Properties inherited from ManiaLib\Gui\Component
$halign, $id, $parentFrame, $parentLayout, $parentNode, $posX, $posY, $posZ, $relativeHalign, $relativeValign, $scale, $scriptEvents, $sizeX, $sizeY, $valign, $visible
ManiaLiveDoc API documentation generated by ApiGen 2.8.0