« 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
类摘要
UI\Controls\ColorButton
extends
UI\Control
{
/* 方法 */
public
getColor
(
void
) :
UI\Color
protected
onChange
(
void
)
public
setColor
(
UI\Draw\Color
$color
)
public
setColor
(
int
$color
)
/* 继承的方法 */
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
)
}
Table of Contents
UI\Controls\ColorButton::getColor
— Get Color
UI\Controls\ColorButton::onChange
— Change Handler
UI\Controls\ColorButton::setColor
— Set Color