Control Box (Arrangement)

Control Box (Arrangement)

(UI 0.9.9)

簡介

A Box allows the arrangement of other controls

類摘要

class UI\Controls\Box extends UI\Control {
/* Constants */
const int Vertical;
const int 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(): int
public isPadded(): bool
public setPadded(bool $padded)
/* 繼承的方法 */
public UI\Control::isEnabled(): bool
public UI\Control::isVisible(): bool
}

屬性

controls

Contains controls, should not be manipulated directly

預定義常量

UI\Controls\Box::Vertical

UI\Controls\Box::Horizontal

目錄

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *