略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: UI\Controls\MultilineEntry

2024-12-23

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

目录

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.ui-controls-multilineentry.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3