Entrée de Contrôle

(UI 0.9.9)

Introduction

Une entrée (Entry) est un contrôle de saisie de texte, adapté pour entrer du texte brut, des mots de passe, ou des termes de recherche.

Synopsis de la classe

class UI\Controls\Entry extends UI\Control {
/* Constantes */
const int Normal;
const int Password;
const int Search;
/* Constructor */
public function __construct(int $type = UI\Controls\Entry::Normal)
/* Méthodes */
public function getText(): string
public function isReadOnly(): bool
protected function onChange()
public function setReadOnly(bool $readOnly)
public function setText(string $text)
/* Méthodes héritées */
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()
}

Constantes pré-définies

UI\Controls\Entry::Normal

Une entrée normale simple

UI\Controls\Entry::Password

Une entrée de mot de passe

UI\Controls\Entry::Search

Une entrée de recherche

Sommaire

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top