# MultilineEntry Control

(UI 0.9.9)

## 简介

A Multiline Entry is a text entry control able to hold multiple lines of text, with or without wrapping.

## 类摘要

class UI\Controls\MultilineEntry extends UI\Control {
/* 常量 */
const int Wrap;
const int NoWrap;
/* Constructor */
public function __construct(int `$type` = ?)
/* 方法 */
public function append(string `$text`)
public function getText(): string
public function isReadOnly(): bool
protected function onChange()
public function setReadOnly(bool `$readOnly`)
public function setText(string `$text`)
/* 继承的方法 */
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()
}

## 预定义常量

`UI\Controls\MultilineEntry::Wrap`

  Allow lines to wrap

`UI\Controls\MultilineEntry::NoWrap`

  Do not allow lines to wrap

## 目录

- UI\Controls\MultilineEntry::append — Append Text
- UI\Controls\MultilineEntry::__construct — Construct a new Multiline Entry
- UI\Controls\MultilineEntry::getText — Get Text
- UI\Controls\MultilineEntry::isReadOnly — Read Only Detection
- UI\Controls\MultilineEntry::onChange — Change Handler
- UI\Controls\MultilineEntry::setReadOnly — Set Read Only
- UI\Controls\MultilineEntry::setText — Set Text

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