« UI\Controls\Button::setText
UI\Controls\ColorButton::getColor »
PHP Manual
UI
ColorButton Control
ColorButton Control
(UI 0.9.9)
Introducción
A Color Button is a button which displays a color picker when clicked
Sinopsis de la Clase
UI\Controls\ColorButton
extends
UI\Control
{
/* Métodos */
public
getColor
(
void
) :
UI\Color
protected
onChange
(
void
)
public
setColor
(
UI\Draw\Color
$color
)
public
setColor
(
int
$color
)
/* Métodos heredados */
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
)
}
Tabla de contenidos
UI\Controls\ColorButton::getColor
— Get Color
UI\Controls\ColorButton::onChange
— Change Handler
UI\Controls\ColorButton::setColor
— Set Color