# Window

(PHP 7, UI 0.9.9)

## はじめに

Represents a UI Window

## クラス概要

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 getSize ( void ) : UI\Size
public getTitle ( void ) : string
public hasBorders ( void ) : bool
public hasMargin ( void ) : bool
public isFullScreen ( void ) : bool
public msg ( string `$title` , string `$msg` )
protected onClosing ( void ) : int
public open ( void ) : string
public save ( void ) : string
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 ( void )
public UI\Control::disable ( void )
public UI\Control::enable ( void )
public UI\Control::getParent ( void ) : UI\Control
public UI\Control::getTopLevel ( void ) : int
public UI\Control::hide ( void )
public UI\Control::isEnabled ( void ) : bool
public UI\Control::isVisible ( void ) : bool
public UI\Control::setParent ( UI\Control `$parent` )
public UI\Control::show ( void )
}

## プロパティ

controls

  Contains controls, should not be manipulated directly

## 目次

- UI\Window::add — Add a Control
- UI\Window::__construct — Construct a new Window
- UI\Window::error — Show Error Box
- UI\Window::getSize — Get Window Size
- UI\Window::getTitle — Get Title
- UI\Window::hasBorders — Border Detection
- UI\Window::hasMargin — Margin Detection
- UI\Window::isFullScreen — Full Screen Detection
- UI\Window::msg — Show Message Box
- UI\Window::onClosing — Closing Callback
- UI\Window::open — Open Dialog
- UI\Window::save — Save Dialog
- UI\Window::setBorders — Border Use
- UI\Window::setFullScreen — Full Screen Use
- UI\Window::setMargin — Margin Use
- UI\Window::setSize — Set Size
- UI\Window::setTitle — Window Title