UI
PHP Manual

Control Box (Arrangement)

(PHP 7, UI 0.9.9)

Introduction

A Box allows the arrangement of other controls

Class synopsis

UI\Controls\Box extends UI\Control {
/* Constants */
const integer Vertical ;
const integer 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 ( void )
public bool isPadded ( void )
public setPadded ( bool $padded )
/* Inherited methods */
public UI\Control::destroy ( void )
public UI\Control::disable ( void )
public UI\Control::enable ( void )
public UI\Control UI\Control::getParent ( void )
public int UI\Control::getTopLevel ( void )
public UI\Control::hide ( void )
public bool UI\Control::isEnabled ( void )
public bool UI\Control::isVisible ( void )
public UI\Control::setParent ( UI\Control $parent )
public UI\Control::show ( void )
}

Properties

controls

Contains controls, should not be manipulated directly

Predefined Constants

UI\Controls\Box::Vertical

UI\Controls\Box::Horizontal

Table of Contents


UI
PHP Manual