Entry Control

(UI 0.9.9)

简介

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

类摘要

class UI\Controls\Entry extends UI\Control {
/* 常量 */
const int Normal;
const int Password;
const int Search;
/* Constructor */
public function __construct(int $type = UI\Controls\Entry::Normal)
/* 方法 */
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::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\Entry::Normal

A normal single line entry

UI\Controls\Entry::Password

A password entry

UI\Controls\Entry::Search

A search entry

目录

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top