# ColorButton Control

(PHP 7, 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 )
}

## 目次

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