# MultilineEntry Control

(PHP 7, UI 0.9.9)

## Introduction

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

## Class synopsis

UI\Controls\MultilineEntry extends UI\Control {
/* Constants */
const integer Wrap ;
const integer NoWrap ;
/* Constructor */
public __construct ([ int `$type` ] )
/* Methods */
public append ( string `$text` )
public getText ( void ) : string
public isReadOnly ( void ) : bool
protected onChange ( void )
public setReadOnly ( bool `$readOnly` )
public setText ( string `$text` )
/* Inherited methods */
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 )
}

## Predefined Constants

`UI\Controls\MultilineEntry::Wrap`

  Allow lines to wrap

`UI\Controls\MultilineEntry::NoWrap`

  Do not allow lines to wrap

## Table of Contents

- 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