# Slider Control

(PHP 7, UI 0.9.9)

## はじめに

A Slider is a control which represents a range, and a current value in the range. The sliding element of the control (sometimes called the "thumb") reflects the value, and can be adjusted within the range.

## クラス概要

UI\Controls\Slider extends UI\Control {
/* Constructor */
public __construct ( int `$min` , int `$max` )
/* メソッド */
public getValue ( void ) : int
protected onChange ( void )
public setValue ( int `$value` )
/* 継承したメソッド */
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\Slider::__construct — Construct a new Slider
- UI\Controls\Slider::getValue — Get Value
- UI\Controls\Slider::onChange — Change Handler
- UI\Controls\Slider::setValue — Set Value