# Entry Control

(PHP 7, UI 0.9.9)

## はじめに

An Entry is a text entry control, suitable for entering plain text, passwords, or search terms.

## クラス概要

UI\Controls\Entry extends UI\Control {
/* Constants */
const integer Normal ;
const integer Password ;
const integer Search ;
/* Constructor */
public __construct ([ int `$type` = UI\Controls\Entry::Normal ] )
/* メソッド */
public getText ( void ) : string
public isReadOnly ( void ) : bool
protected onChange ( void )
public setReadOnly ( bool `$readOnly` )
public setText ( string `$text` )
/* 継承したメソッド */
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 )
}

## 定義済み定数

`UI\Controls\Entry::Normal`

  A normal single line entry

`UI\Controls\Entry::Password`

  A password entry

`UI\Controls\Entry::Search`

  A search entry

## 目次

- UI\Controls\Entry::__construct — Construct a new Entry
- UI\Controls\Entry::getText — Get Text
- UI\Controls\Entry::isReadOnly — Detect Read Only
- UI\Controls\Entry::onChange — Change Handler
- UI\Controls\Entry::setReadOnly — Set Read Only
- UI\Controls\Entry::setText — Set Text