Entry Control

Introduction

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

Class synopsis

UI\Controls\Entry
class UI\Controls\Entry extends UI\Control {
/* Constants */
const int UI\Controls\Entry::Normal;
const int UI\Controls\Entry::Password;
const int UI\Controls\Entry::Search;
/* Constructor */
public __construct(int $type = UI\Controls\Entry::Normal)
/* Methods */
public string getText()
public bool isReadOnly()
protected onChange()
public setReadOnly(bool $readOnly)
public setText(string $text)
/* Inherited methods */
public UI\Control::destroy()
public UI\Control::disable()
public UI\Control::enable()
public UI\Control UI\Control::getParent()
public int UI\Control::getTopLevel()
public UI\Control::hide()
public bool UI\Control::isEnabled()
public bool UI\Control::isVisible()
public UI\Control::setParent(UI\Control $parent)
public UI\Control::show()
}

Predefined Constants

UI\Controls\Entry::Normal

A normal single line entry

UI\Controls\Entry::Password

A password entry

UI\Controls\Entry::Search

A search entry

Table of Contents