Window

はじめに

Represents a UI Window

クラス概要

UI\Window
class UI\Window extends UI\Control {
/* プロパティ */
protected $controls;
/* Constructor */
public __construct(string $title, Size $size, bool $menu = false)
/* メソッド */
public add(UI\Control $control)
public error(string $title, string $msg)
public UI\Size getSize()
public string getTitle()
public bool hasBorders()
public bool hasMargin()
public bool isFullScreen()
public msg(string $title, string $msg)
protected int onClosing()
public string open()
public string save()
public setBorders(bool $borders)
public setFullScreen(bool $full)
public setMargin(bool $margin)
public setSize(UI\Size $size)
public setTitle(string $title)
/* 継承したメソッド */
public UI\Control::destroy()
public UI\Control::disable()
public UI\Control::enable()
public UI\Control UI\Control::getParent()
public int UI\Control::getTopLevel()
public UI\Control::hide()
public bool UI\Control::isEnabled()
public bool UI\Control::isVisible()
public UI\Control::setParent(UI\Control $parent)
public UI\Control::show()
}

プロパティ

controls

Contains controls, should not be manipulated directly

目次