Control Box (Arrangement)

Introduction

A Box allows the arrangement of other controls

Class synopsis

UI\Controls\Box
class UI\Controls\Box extends UI\Control {
/* Constants */
const int UI\Controls\Box::Vertical;
const int UI\Controls\Box::Horizontal;
/* Properties */
protected $controls;
/* Constructor */
public __construct(int $orientation = UI\Controls\Box::Horizontal)
/* Methods */
public int append(Control $control, bool $stretchy = false)
public bool delete(int $index)
public int getOrientation()
public bool isPadded()
public setPadded(bool $padded)
/* Inherited methods */
public UI\Control::destroy()
public UI\Control::disable()
public UI\Control::enable()
public UI\Control UI\Control::getParent()
public int UI\Control::getTopLevel()
public UI\Control::hide()
public bool UI\Control::isEnabled()
public bool UI\Control::isVisible()
public UI\Control::setParent(UI\Control $parent)
public UI\Control::show()
}

Properties

controls

Contains controls, should not be manipulated directly

Predefined Constants

UI\Controls\Box::Vertical

UI\Controls\Box::Horizontal

Table of Contents