« UI\Controls\Button::setText
UI\Controls\ColorButton::getColor »
PHP Manual
UI
ColorButton Control
ColorButton Control
(UI 0.9.9)
Introduction
A Color Button is a button which displays a color picker when clicked
Class synopsis
class
UI\Controls\ColorButton
extends
UI\Control
{
/* Methods */
public
getColor
():
UI\Color
protected
onChange
()
public
setColor
(
UI\Draw\Color
$color
)
public
setColor
(
int
$color
)
/* Inherited methods */
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
()
}
Table of Contents
UI\Controls\ColorButton::getColor
— Get Color
UI\Controls\ColorButton::onChange
— Change Handler
UI\Controls\ColorButton::setColor
— Set Color