PHP 8.6.0 Beta 1 is available for testing

Блок управления (размещение)

(UI 0.9.9)

Введение

В Блоке (Box) располагают другие элементы управления.

Обзор класса

class UI\Controls\Box extends UI\Control {
/* Константы */
const int Vertical ;
const int Horizontal ;
/* Свойства */
protected $controls ;
/* Конструктор */
public function __construct (int $orientation = UI\Controls\Box::Horizontal)
/* Методы */
public function append (Control $control, bool $stretchy = false ): int
public function delete (int $index): bool
public function getOrientation (): int
public function isPadded (): bool
public function setPadded (bool $padded)
/* Наследуемые методы */
public function UI\Control::destroy ()
public function UI\Control::disable ()
public function UI\Control::enable ()
public function UI\Control::getParent (): UI\Control
public function UI\Control::getTopLevel (): int
public function UI\Control::hide ()
public function UI\Control::isEnabled (): bool
public function UI\Control::isVisible (): bool
public function UI\Control::setParent (UI\Control $parent)
public function UI\Control::show ()
}

Свойства

controls

Содержит элементы управления, которыми не следует манипулировать напрямую.

Предопределённые константы

UI\Controls\Box::Vertical

UI\Controls\Box::Horizontal

Содержание

Нашли ошибку?

ИнструкцияИсправлениеСообщение об ошибке
+Добавить

Примечания пользователей

Пользователи ещё не добавляли примечания для страницы

AltStyle によって変換されたページ (->オリジナル) /