« UI\Controls\Button::setText
UI\Controls\ColorButton::getColor »
PHP Manual
UI
ColorButton Control
ColorButton Control
(UI 0.9.9)
简介
A Color Button is a button which displays a color picker when clicked
类摘要
class
UI\Controls\ColorButton
extends
UI\Control
{
/* 方法 */
public
getColor
():
UI\Color
protected
onChange
()
public
setColor
(
UI\Draw\Color
$color
)
public
setColor
(
int
$color
)
/* 继承的方法 */
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\ColorButton::getColor
— Get Color
UI\Controls\ColorButton::onChange
— Change Handler
UI\Controls\ColorButton::setColor
— Set Color