Control Box (Arrangement)

(PHP 7, UI 0.9.9)

简介

A Box allows the arrangement of other controls

类摘要

UI\Controls\Box extends UI\Control {
/* Constants */
const integer Vertical ;
const integer Horizontal ;
/* 属性 */
protected $controls ;
/* Constructor */
public __construct ([ int $orientation = UI\Controls\Box::Horizontal ] )
/* 方法 */
public append ( Control $control [, bool $stretchy = FALSE ] ) : int
public delete ( int $index ) : bool
public getOrientation ( void ) : int
public isPadded ( void ) : bool
public setPadded ( bool $padded )
/* 继承的方法 */
public UI\Control::destroy ( void )
public UI\Control::disable ( void )
public UI\Control::enable ( void )
public UI\Control::getParent ( void ) : UI\Control
public UI\Control::getTopLevel ( void ) : int
public UI\Control::hide ( void )
public UI\Control::isEnabled ( void ) : bool
public UI\Control::isVisible ( void ) : bool
public UI\Control::setParent ( UI\Control $parent )
public UI\Control::show ( void )
}

属性

controls

Contains controls, should not be manipulated directly

预定义常量

UI\Controls\Box::Vertical

UI\Controls\Box::Horizontal

Table of Contents