UI UI\Controls\Slider
(UI 0.9.9)
소개
Slider는 범위와 범위의 현재 값을 나타내는 컨트롤입니다. 컨트롤의 슬라이딩 요소("엄지손가락"이라고도 함)는 값을 반영하며 범위 내에서 조정할 수 있습니다.
클래스 개요
class UI\Controls\Slider extends UI\Control {
/* Constructor */
public __construct(int $min, int $max)
/* Methods */
public getValue(): int
protected onChange()
public setValue(int $value)
/* 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()
}
목차
- 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