# Entry Control

(UI 0.9.9)

## Einführung

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

## Klassenbeschreibung

class UI\Controls\Entry extends UI\Control {
/* Konstanten */
const int Normal;
const int Password;
const int Search;
/* Constructor */
public function __construct(int `$type` = UI\Controls\Entry::Normal)
/* Methoden */
public function getText(): string
public function isReadOnly(): bool
protected function onChange()
public function setReadOnly(bool `$readOnly`)
public function setText(string `$text`)
/* Geerbte Methoden */
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()
}

## Vordefinierte Konstanten

`UI\Controls\Entry::Normal`

  A normal single line entry

`UI\Controls\Entry::Password`

  A password entry

`UI\Controls\Entry::Search`

  A search entry

## Inhaltsverzeichnis

- 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

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open