Entry Control

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

A normal single line entry

UI\Controls\Entry::Password

A password entry

UI\Controls\Entry::Search

A search entry

目錄

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *