UI UI\Controls\Box

(UI 0.9.9)


소개

Box는 다른 컨트롤의 배열을 허용합니다.


클래스 개요

                  
class UI\Controls\Box extends UI\Control {

  /* Constants */
  const int Vertical;
  const int Horizontal;

  /* Properties */
  protected $controls;

  /* Constructor */
  public __construct(int $orientation = UI\Controls\Box::Horizontal)

  /* Methods */
  public append(Control $control, bool $stretchy = false): int
  public delete(int $index): bool
  public getOrientation(): int
  public isPadded(): bool
  public setPadded(bool $padded)

  /* Inherited methods */
  public UI\Control::destroy()
  public UI\Control::disable()
  public UI\Control::enable()
  public UI\Control::getParent(): UI\Control
  public UI\Control::getTopLevel(): int
  public UI\Control::hide()
  public UI\Control::isEnabled(): bool
  public UI\Control::isVisible(): bool
  public UI\Control::setParent(UI\Control $parent)
  public UI\Control::show()
}
                  
                

Properties

controls
컨트롤이 포함되어 있으므로 직접 조작해서는 안 됩니다.

미리 정의된 상수

UI\Controls\Box::Vertical
UI\Controls\Box::Horizontal

목차