UI UI\Controls\Entry
(UI 0.9.9)
소개
항목은 일반 텍스트, 암호 또는 검색어를 입력하는 데 적합한 텍스트 입력 컨트롤입니다.
클래스 개요
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)
/* Methods */
public getText(): string
public isReadOnly(): bool
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::getParent(): UI\Control
public UI\Control::getTopLevel(): int
public UI\Control::hide()
public UI\Control::isEnabled(): bool
public UI\Control::isVisible(): bool
public UI\Control::setParent(UI\Control $parent)
public UI\Control::show()
}
미리 정의된 상수
UI\Controls\Entry::Normal
- 일반적인 한 줄 항목
UI\Controls\Entry::Password
- 비밀번호 항목
UI\Controls\Entry::Search
- 검색 항목
목차
- UI\Controls\Entry::__construct — Construct a new Entry
- UI\Controls\Entry::getText — Get Text
- UI\Controls\Entry::isReadOnly — Detect Read Only
- UI\Controls\Entry::onChange — Change Handler
- UI\Controls\Entry::setReadOnly — Set Read Only
- UI\Controls\Entry::setText — Set Text