Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<UI\Controls\Button::setTextUI\Controls\ColorButton::getColor>
^UILast updated: Mon, 26 Oct 2026

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 function getColor(): UI\Color
protected function onChange()
public function setColor(UI\Draw\Color $color)
public function setColor(int $color)
/* Inherited methods */
public function UI\Control::destroy()
public function UI\Control::disable()
public function UI\Control::enable()
public function UI\Control::getTopLevel(): int
public function UI\Control::hide()
public function UI\Control::isEnabled(): bool
public function UI\Control::isVisible(): bool
public function UI\Control::setParent(UI\Control $parent)
public function UI\Control::show()
}

Table of Contents


<UI\Controls\Button::setTextUI\Controls\ColorButton::getColor>
^UILast updated: Mon, 26 Oct 2026