« UI\Controls\Tab::setMargin
UI\Controls\Check::__construct »
PHP Manual
UI
Check Control
Check Control
(UI 0.9.9)
简介
A Check is a labelled checkable box
类摘要
UI\Controls\Check
extends
UI\Control
{
/* Constructor */
public
__construct
(
string
$text
)
/* 方法 */
public
getText
( ) :
string
public
isChecked
( ) :
bool
protected
onToggle
( )
public
setChecked
(
bool
$checked
)
public
setText
(
string
$text
)
/* 继承的方法 */
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\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