UI\Controls\Tab::setMargin
UI\Controls\Check::__construct
UI
PHP Manual
Check Control
(PHP 7, UI 0.9.9)
Introduction
A Check is a labelled checkable box
Class synopsis
UI\Controls\Check
extends
UI\Control
{
/* Constructor */
public
__construct
(
string
$text
)
/* Methods */
public
string
getText
(
void
)
public
bool
isChecked
(
void
)
protected
onToggle
(
void
)
public
setChecked
(
boolean
$checked
)
public
setText
(
string
$text
)
/* Inherited methods */
public
UI\Control::destroy
(
void
)
public
UI\Control::disable
(
void
)
public
UI\Control::enable
(
void
)
public
UI\Control
UI\Control::getParent
(
void
)
public
int
UI\Control::getTopLevel
(
void
)
public
UI\Control::hide
(
void
)
public
bool
UI\Control::isEnabled
(
void
)
public
bool
UI\Control::isVisible
(
void
)
public
UI\Control::setParent
(
UI\Control
$parent
)
public
UI\Control::show
(
void
)
}
Table of Contents
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
UI\Controls\Tab::setMargin
UI\Controls\Check::__construct
UI
PHP Manual