« UI\Controls\Tab::setMargin
UI\Controls\Check::__construct »
PHP Manual
UI
Check Control
Check Control
(PHP 7, UI 0.9.9)
Giriş
A Check is a labelled checkable box
Sınıf Sözdizimi
UI\Controls\Check
extends
UI\Control
{
/* Constructor */
public
__construct
(
string
$text
)
/* Yöntemler */
public
getText
(
void
) :
string
public
isChecked
(
void
) :
bool
protected
onToggle
(
void
)
public
setChecked
(
bool
$checked
)
public
setText
(
string
$text
)
/* Miras alınan yöntemler */
public
UI\Control::destroy
(
void
)
public
UI\Control::disable
(
void
)
public
UI\Control::enable
(
void
)
public
UI\Control::getParent
(
void
) :
UI\Control
public
UI\Control::getTopLevel
(
void
) :
int
public
UI\Control::hide
(
void
)
public
UI\Control::isEnabled
(
void
) :
bool
public
UI\Control::isVisible
(
void
) :
bool
public
UI\Control::setParent
(
UI\Control
$parent
)
public
UI\Control::show
(
void
)
}
İçindekiler
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