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

预定义常量

UI\Controls\MultilineEntry::Wrap

Allow lines to wrap

UI\Controls\MultilineEntry::NoWrap

Do not allow lines to wrap

目录