# Check Control

(UI 0.9.9)

## Einführung

A Check is a labelled checkable box

## Klassenbeschreibung

class UI\Controls\Check extends UI\Control {
/* Constructor */
public function __construct(string `$text`)
/* Methoden */
public function getText(): string
public function isChecked(): bool
protected function onToggle()
public function setChecked(bool `$checked`)
public function setText(string `$text`)
/* Geerbte Methoden */
public function UI\Control::destroy()
public function UI\Control::disable()
public function UI\Control::enable()
public function UI\Control::getParent(): UI\Control
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()
}

## Inhaltsverzeichnis

- UI\Controls\Check::__construct — Construct a new Check
- UI\Controls\Check::getText — Get Text
- UI\Controls\Check::isChecked — Checked Detection
- UI\Controls\Check::onToggle — Toggle Callback
- UI\Controls\Check::setChecked — Set Checked
- UI\Controls\Check::setText — Set Text

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open