# 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

class UI\Controls\ColorButton extends UI\Control {
/* Métodos */
public getColor(): UI\Color
protected onChange()
public setColor(UI\Draw\Color `$color`)
public setColor(int `$color`)
/* Métodos heredados */
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()
}

## Tabla de contenidos

- UI\Controls\ColorButton::getColor — Get Color
- UI\Controls\ColorButton::onChange — Change Handler
- UI\Controls\ColorButton::setColor — Set Color