略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: UI\Controls\Box

2024-12-21

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

目录

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.ui-controls-box.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3