UI
PHP Manual

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 int append ( Control $control [, bool $stretchy = FALSE ] )
public bool delete ( int $index )
public int getOrientation ( void )
public bool isPadded ( void )
public setPadded ( bool $padded )
/* 继承的方法 */
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 )
}

属性

controls

Contains controls, should not be manipulated directly

预定义常量

UI\Controls\Box::Vertical

UI\Controls\Box::Horizontal

Table of Contents


UI
PHP Manual